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/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_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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 179 kB / 8.476 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.081/1.081, allocations: 205.2 MB / 214.1 MB, free: 5.074 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008421/0.0008422, allocations: 82 kB / 262.1 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.951e-06, allocations: 0 / 315 MB, free: 41.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06164/0.06166, allocations: 47.58 MB / 362.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.2809, allocations: 108.3 MB / 470.8 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.2812, allocations: 83.2 kB / 470.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1369/0.4181, allocations: 51.18 MB / 0.5099 GB, free: 4.926 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001526/0.4183, allocations: 67.88 kB / 0.5099 GB, free: 4.859 MB / 362.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.004199/0.4225, allocations: 2.416 MB / 0.5123 GB, free: 2.379 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.4225, allocations: 12.02 kB / 0.5123 GB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/0.4233, allocations: 328.3 kB / 0.5126 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.4267, allocations: 1.791 MB / 0.5144 GB, free: 204 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.4267, allocations: 68 kB / 0.5144 GB, free: 136 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002678/0.427, allocations: 127.8 kB / 0.5145 GB, free: 8 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003294/0.4303, allocations: 1.984 MB / 0.5165 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00373/0.4341, allocations: 2.338 MB / 0.5188 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.363e-05/0.4341, allocations: 4 kB / 0.5188 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.4343, allocations: 0 / 0.5188 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-05/0.4344, allocations: 99.83 kB / 0.5189 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.447, allocations: 7.98 MB / 0.5267 GB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.4486, allocations: 0.9085 MB / 0.5275 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.4498, allocations: 0.8862 MB / 0.5284 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.4501, allocations: 138 kB / 0.5285 GB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.4501, allocations: 43.56 kB / 0.5286 GB, free: 1.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 2.975e-06/0.4502, allocations: 0 / 0.5286 GB, free: 1.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.009202/0.4594, allocations: 4.846 MB / 0.5333 GB, free: 12.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.4595, allocations: 68.72 kB / 0.5334 GB, free: 12.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.4622, allocations: 1.669 MB / 0.535 GB, free: 10.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002016/0.4624, allocations: 25.7 kB / 0.535 GB, free: 10.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/0.4629, allocations: 0.7981 MB / 0.5358 GB, free: 9.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.4633, allocations: 449.2 kB / 0.5362 GB, free: 9.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.4634, allocations: 0 / 0.5362 GB, free: 9.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4635, allocations: 361.9 kB / 0.5366 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.4645, allocations: 0.7029 MB / 0.5373 GB, free: 8.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.4657, allocations: 0.9471 MB / 0.5382 GB, free: 7.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.467, allocations: 0.8534 MB / 0.539 GB, free: 6.363 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.467, allocations: 4 kB / 0.539 GB, free: 6.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004705/0.4717, allocations: 2.595 MB / 0.5416 GB, free: 3.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4718, allocations: 4 kB / 0.5416 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.4718, allocations: 8 kB / 0.5416 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.474, allocations: 0.8424 MB / 0.5424 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.4753, allocations: 271.6 kB / 0.5427 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.4865, allocations: 8.445 MB / 0.5509 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.4879, allocations: 56 kB / 0.551 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.4881, allocations: 59.97 kB / 0.551 GB, free: 9.816 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000259/0.4883, allocations: 132.7 kB / 0.5511 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.4887, allocations: 189.6 kB / 0.5513 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/0.493, allocations: 2.388 MB / 0.5537 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.4931, allocations: 12 kB / 0.5537 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4931, allocations: 11.94 kB / 0.5537 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4931, allocations: 3.984 kB / 0.5537 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008251/0.5014, allocations: 4.652 MB / 0.5582 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.5014, allocations: 0 / 0.5582 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.5025, allocations: 211.9 kB / 0.5584 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.5046, allocations: 0.7079 MB / 0.5591 GB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.5047, allocations: 15.98 kB / 0.5591 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008912/0.5136, allocations: 7.861 MB / 0.5668 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5137, allocations: 0 / 0.5668 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005295/0.519, allocations: 3.516 MB / 0.5702 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/0.5198, allocations: 462.6 kB / 0.5707 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.5201, allocations: 7.984 kB / 0.5707 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.5211, allocations: 63.94 kB / 0.5708 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.5213, allocations: 77.19 kB / 0.5708 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.5214, allocations: 39.98 kB / 0.5709 GB, free: 4.926 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001759/0.5232, allocations: 1.286 MB / 0.5721 GB, free: 3.648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001708/0.5249, allocations: 0.504 MB / 0.5726 GB, free: 3.145 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009701/0.5259, allocations: 0.5016 MB / 0.5731 GB, free: 2.637 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003592/0.5295, allocations: 2.213 MB / 0.5753 GB, free: 396 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5295, allocations: 4.25 kB / 0.5753 GB, free: 392 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09639/0.6259, allocations: 1.531 MB / 0.5768 GB, free: 160.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6276, allocations: 307.4 kB / 0.5771 GB, free: 160.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00628/0.6339, allocations: 4.254 MB / 0.5812 GB, free: 159.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/0.6355, allocations: 2.086 MB / 0.5833 GB, free: 158.8 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6355, allocations: 0 / 0.5833 GB, free: 158.8 MB / 426.7 MB Notification: Performance of Templates: time 0.03691/0.6724, allocations: 26.2 MB / 0.6088 GB, free: 157.5 MB / 426.7 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","../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