Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 114.5 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 187 kB / 18.66 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 51.92 kB / 328.6 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.133, allocations: 46.61 MB / 375.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.3022/0.4352, allocations: 9.604 MB / 384.8 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007559/0.4429, allocations: 3.487 MB / 388.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.4448, allocations: 41.56 kB / 388.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.4469, allocations: 0.6712 MB / 389 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.4498, allocations: 0.8273 MB / 389.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.4511, allocations: 457.9 kB / 390.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003458/0.4546, allocations: 2.668 MB / 392.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.4568, allocations: 1.827 MB / 394.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.459, allocations: 1.185 MB / 395.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.4613, allocations: 1.495 MB / 397.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005315/0.4618, allocations: 306.9 kB / 397.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.4632, allocations: 0.5649 MB / 398.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.4644, allocations: 1.02 MB / 399.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.466, allocations: 1.483 MB / 400.8 MB, free: 28 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005365/0.4714, allocations: 4.286 MB / 405.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4714, allocations: 0.6562 kB / 405.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4714, allocations: 0 / 405.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.551e-05/0.4715, allocations: 1.25 kB / 405.1 MB, free: 13.57 MB / 334.1 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.007044/0.4786, allocations: 3.149 MB / 408.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4786, allocations: 10.19 kB / 408.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000924/0.4796, allocations: 325.7 kB / 408.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.4823, allocations: 1.616 MB / 410.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.4825, allocations: 157.9 kB / 410.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.4829, allocations: 204.6 kB / 410.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/0.4881, allocations: 2.697 MB / 413.2 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/0.4882, allocations: 7.094 kB / 413.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.4884, allocations: 81.06 kB / 413.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.4886, allocations: 97.2 kB / 413.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004532/0.4931, allocations: 2.279 MB / 415.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/0.5086, allocations: 8.134 MB / 423.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.5116, allocations: 1.627 MB / 425.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.5135, allocations: 1.109 MB / 426.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.5138, allocations: 130.1 kB / 426.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.5139, allocations: 51.44 kB / 426.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.607e-06/0.5139, allocations: 0 / 426.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01347/0.5273, allocations: 6.205 MB / 432.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.5274, allocations: 72.7 kB / 433 MB, free: 5.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/0.5309, allocations: 2.152 MB / 435.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.5312, allocations: 53.69 kB / 435.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008817/0.5321, allocations: 1.1 MB / 436.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.5325, allocations: 461.4 kB / 436.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.533, allocations: 243.4 kB / 437 MB, free: 1.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5332, allocations: 357.9 kB / 437.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.5345, allocations: 0.7574 MB / 438.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.536, allocations: 1.013 MB / 439.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002787/0.5388, allocations: 1.854 MB / 441 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.5388, allocations: 7.938 kB / 441 MB, free: 12.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005507/0.5444, allocations: 2.757 MB / 443.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.5444, allocations: 11.98 kB / 443.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.5444, allocations: 4 kB / 443.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/0.5466, allocations: 0.7853 MB / 444.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.5478, allocations: 275.5 kB / 444.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.5609, allocations: 9.596 MB / 454.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.5632, allocations: 87.89 kB / 454.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003626/0.5636, allocations: 55.98 kB / 454.5 MB, free: 14.99 MB / 382.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002472/0.5661, allocations: 0.7395 MB / 455.3 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/0.5673, allocations: 213.3 kB / 455.5 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005719/0.5731, allocations: 2.481 MB / 458 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/0.5731, allocations: 20 kB / 458 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.5732, allocations: 4 kB / 458 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.5732, allocations: 11.91 kB / 458 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.5839, allocations: 4.937 MB / 462.9 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.5839, allocations: 0 / 462.9 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.585, allocations: 223.8 kB / 463.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.5868, allocations: 0.6528 MB / 463.8 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.5869, allocations: 35.98 kB / 463.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009765/0.5967, allocations: 8.694 MB / 472.5 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.5968, allocations: 0 / 472.5 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007771/0.6046, allocations: 3.54 MB / 476.1 MB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/0.6063, allocations: 450.5 kB / 476.5 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009234/0.6072, allocations: 24.08 kB / 476.6 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/0.6091, allocations: 95.81 kB / 476.6 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004567/0.6096, allocations: 104.9 kB / 476.7 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.6098, allocations: 39.98 kB / 476.8 MB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003856/0.6136, allocations: 1.515 MB / 478.3 MB, free: 6.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6137, allocations: 0 / 478.3 MB, free: 6.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003657/0.6173, allocations: 0.5234 MB / 478.8 MB, free: 6.059 MB / 398.1 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001635/0.619, allocations: 444 kB / 479.3 MB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005489/0.6245, allocations: 2.393 MB / 481.7 MB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.6245, allocations: 4.188 kB / 481.7 MB, free: 3.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00296/0.6275, allocations: 1.597 MB / 483.3 MB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/0.6315, allocations: 462.2 kB / 483.7 MB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.6442, allocations: 5.113 MB / 488.8 MB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/0.6474, allocations: 1.955 MB / 490.8 MB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00208/0.6495, allocations: 387.7 kB / 491.2 MB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007266/0.6502, allocations: 131.4 kB / 491.3 MB, free: 9.422 MB / 414.1 MB Notification: Performance of SimCode: time 1.804e-06/0.6503, allocations: 0 / 491.3 MB, free: 9.422 MB / 414.1 MB Notification: Performance of Templates: time 0.06743/0.7177, allocations: 30.57 MB / 0.5096 GB, free: 10.79 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches