Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008096/0.0008097, allocations: 96.86 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2222, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.008379/0.2306, allocations: 8.497 MB / 383.1 MB, free: 38.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006093/0.2368, allocations: 3.278 MB / 386.3 MB, free: 36.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008343/0.2376, allocations: 37.06 kB / 386.4 MB, free: 36.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.2389, allocations: 0.5319 MB / 386.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.2403, allocations: 0.7012 MB / 387.6 MB, free: 35.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007389/0.2411, allocations: 314.4 kB / 387.9 MB, free: 34.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.2433, allocations: 2.74 MB / 390.7 MB, free: 32.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.2445, allocations: 1.285 MB / 391.9 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.2455, allocations: 0.9221 MB / 392.9 MB, free: 30.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.2468, allocations: 1.319 MB / 394.2 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.247, allocations: 140 kB / 394.3 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006635/0.2477, allocations: 339.6 kB / 394.6 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005117/0.2482, allocations: 0.7905 MB / 395.4 MB, free: 27.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.2485, allocations: 0.5081 MB / 395.9 MB, free: 27.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.2505, allocations: 3.389 MB / 399.3 MB, free: 23.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2505, allocations: 0 / 399.3 MB, free: 23.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2505, allocations: 4 kB / 399.3 MB, free: 23.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.074e-05/0.2506, allocations: 3.938 kB / 399.3 MB, free: 23.96 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003932/0.2545, allocations: 2.71 MB / 402.1 MB, free: 21.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2545, allocations: 12.03 kB / 402.1 MB, free: 21.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006026/0.2552, allocations: 328.3 kB / 402.4 MB, free: 20.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.2571, allocations: 1.526 MB / 403.9 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/0.2572, allocations: 148 kB / 404.1 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.2574, allocations: 207.9 kB / 404.3 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.2611, allocations: 2.686 MB / 406.9 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/0.2611, allocations: 15.91 kB / 407 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.2613, allocations: 83.94 kB / 407 MB, free: 16.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.125e-05/0.2614, allocations: 99.92 kB / 407.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.2647, allocations: 2.299 MB / 409.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009864/0.2746, allocations: 8.263 MB / 417.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.2771, allocations: 1.628 MB / 419.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.2786, allocations: 1.111 MB / 420.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.2788, allocations: 126 kB / 420.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.2788, allocations: 47.5 kB / 420.6 MB, free: 2.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 3.276e-06/0.2788, allocations: 4 kB / 420.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.01139/0.2902, allocations: 6.266 MB / 426.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2903, allocations: 64.72 kB / 426.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.293, allocations: 2.148 MB / 429.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.063e-05/0.2931, allocations: 45.7 kB / 429.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008173/0.294, allocations: 1.108 MB / 430.2 MB, free: 8.383 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/0.2943, allocations: 457.3 kB / 430.7 MB, free: 7.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.2944, allocations: 28 kB / 430.7 MB, free: 7.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2946, allocations: 353.9 kB / 431.1 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.2958, allocations: 0.773 MB / 431.8 MB, free: 6.777 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.2972, allocations: 1.017 MB / 432.9 MB, free: 5.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.2987, allocations: 0.8965 MB / 433.8 MB, free: 4.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2987, allocations: 4 kB / 433.8 MB, free: 4.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004771/0.3035, allocations: 2.777 MB / 436.5 MB, free: 1.973 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3035, allocations: 8 kB / 436.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3035, allocations: 4 kB / 436.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.3054, allocations: 0.7931 MB / 437.3 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3065, allocations: 275.6 kB / 437.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.317, allocations: 8.735 MB / 446.3 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.3184, allocations: 99.95 kB / 446.4 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.3185, allocations: 55.98 kB / 446.5 MB, free: 7.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001291/0.3198, allocations: 0.7433 MB / 447.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.3201, allocations: 201.5 kB / 447.4 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.3245, allocations: 2.508 MB / 449.9 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.3245, allocations: 16 kB / 450 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3245, allocations: 4 kB / 450 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.3245, allocations: 7.969 kB / 450 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00788/0.3324, allocations: 4.972 MB / 454.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.3324, allocations: 0 / 454.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.3335, allocations: 219.7 kB / 455.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.3351, allocations: 0.6462 MB / 455.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/0.3353, allocations: 39.97 kB / 455.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008364/0.3436, allocations: 7.901 MB / 463.7 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3436, allocations: 4.031 kB / 463.7 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/0.3495, allocations: 3.566 MB / 467.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009446/0.3505, allocations: 446.5 kB / 467.7 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.3507, allocations: 31.92 kB / 467.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009365/0.3517, allocations: 95.91 kB / 467.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.352, allocations: 104.8 kB / 468 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/0.3521, allocations: 44.03 kB / 468 MB, free: 1.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002006/0.3541, allocations: 1.504 MB / 469.5 MB, free: 68 kB / 346.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3541, allocations: 0 / 469.5 MB, free: 68 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.00182/0.3559, allocations: 0.5275 MB / 470 MB, free: 15.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009971/0.3569, allocations: 427.9 kB / 470.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004201/0.3611, allocations: 2.392 MB / 472.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3612, allocations: 0 / 472.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.3637, allocations: 1.621 MB / 474.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.3659, allocations: 427.2 kB / 474.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/0.3752, allocations: 6.083 MB / 481 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.3772, allocations: 1.928 MB / 482.9 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/0.3778, allocations: 139.4 kB / 483 MB, free: 2.391 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.3778, allocations: 4 kB / 483 MB, free: 2.387 MB / 362.7 MB Notification: Performance of Templates: time 0.2166/0.5944, allocations: 63.36 MB / 0.5336 GB, free: 70.11 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches