Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") [: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.000977/0.000977, allocations: 179.1 kB / 8.478 MB, free: 1.836 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.135/1.135, allocations: 205.2 MB / 214.1 MB, free: 5.152 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.0007948/0.0007948, allocations: 89.98 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.901e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07357/0.07359, allocations: 47.58 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2595/0.3332, allocations: 109.4 MB / 471.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.3334, allocations: 82.45 kB / 472 MB, free: 15.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1694/0.5028, allocations: 64.24 MB / 0.5237 GB, free: 6.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003324/0.5032, allocations: 95.81 kB / 0.5238 GB, free: 6.527 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008346/0.5116, allocations: 3.234 MB / 0.5269 GB, free: 3.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5116, allocations: 8.031 kB / 0.5269 GB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.5137, allocations: 447.1 kB / 0.5274 GB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006254/0.52, allocations: 2.406 MB / 0.5297 GB, free: 336 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.5201, allocations: 100 kB / 0.5298 GB, free: 236 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009705/0.5211, allocations: 179.9 kB / 0.53 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007281/0.5284, allocations: 3.378 MB / 0.5333 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006551/0.535, allocations: 3.861 MB / 0.5371 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.966e-05/0.5351, allocations: 4 kB / 0.5371 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.5354, allocations: 11.98 kB / 0.5371 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.5355, allocations: 133.9 kB / 0.5372 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02448/0.56, allocations: 13.08 MB / 0.55 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.562, allocations: 1.322 MB / 0.5513 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.5644, allocations: 1.596 MB / 0.5528 GB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/0.5647, allocations: 139 kB / 0.5529 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.5648, allocations: 56.5 kB / 0.553 GB, free: 7.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=167): time 3.587e-06/0.5648, allocations: 0 / 0.553 GB, free: 7.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=183): time 0.01239/0.5772, allocations: 6.439 MB / 0.5593 GB, free: 1.422 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.5773, allocations: 69.41 kB / 0.5594 GB, free: 1.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.5802, allocations: 1.743 MB / 0.5611 GB, free: 15.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.5804, allocations: 25.7 kB / 0.5611 GB, free: 15.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006631/0.5811, allocations: 1.117 MB / 0.5622 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004997/0.5816, allocations: 0.5849 MB / 0.5627 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.5817, allocations: 0 / 0.5627 GB, free: 13.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5818, allocations: 385.9 kB / 0.5631 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.5834, allocations: 1.085 MB / 0.5642 GB, free: 12.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.5851, allocations: 1.476 MB / 0.5656 GB, free: 10.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.5869, allocations: 1.302 MB / 0.5669 GB, free: 9.406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5869, allocations: 0 / 0.5669 GB, free: 9.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005527/0.5924, allocations: 3.378 MB / 0.5702 GB, free: 5.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5925, allocations: 4 kB / 0.5702 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.5925, allocations: 19.88 kB / 0.5702 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.5945, allocations: 0.81 MB / 0.571 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.5964, allocations: 443.4 kB / 0.5714 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1241/0.7205, allocations: 10.12 MB / 0.5813 GB, free: 145.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.7225, allocations: 72.27 kB / 0.5814 GB, free: 145.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.7227, allocations: 73.44 kB / 0.5814 GB, free: 145.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003573/0.723, allocations: 159.9 kB / 0.5816 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/0.7235, allocations: 222.1 kB / 0.5818 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/0.7281, allocations: 3.179 MB / 0.5849 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.7281, allocations: 18 kB / 0.5849 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.7281, allocations: 6.938 kB / 0.5849 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.7282, allocations: 7.641 kB / 0.5849 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009789/0.738, allocations: 6.489 MB / 0.5913 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.738, allocations: 2.562 kB / 0.5913 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.7394, allocations: 310 kB / 0.5916 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.7416, allocations: 0.8963 MB / 0.5925 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.7417, allocations: 19.53 kB / 0.5925 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009047/0.7508, allocations: 12.65 MB / 0.6048 GB, free: 136.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7508, allocations: 5.625 kB / 0.6048 GB, free: 136.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00621/0.7571, allocations: 4.926 MB / 0.6096 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.7585, allocations: 0.5485 MB / 0.6102 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005771/0.7591, allocations: 10.53 kB / 0.6102 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.7605, allocations: 88.58 kB / 0.6103 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.7607, allocations: 120.8 kB / 0.6104 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.7609, allocations: 52.58 kB / 0.6104 GB, free: 135.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001745/0.7626, allocations: 1.314 MB / 0.6117 GB, free: 135.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002151/0.7648, allocations: 0.635 MB / 0.6123 GB, free: 135.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005692/0.7654, allocations: 331.1 kB / 0.6127 GB, free: 135.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004484/0.7698, allocations: 3.387 MB / 0.616 GB, free: 134.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7699, allocations: 2.906 kB / 0.616 GB, free: 134.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.7727, allocations: 2.319 MB / 0.6182 GB, free: 133.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.7754, allocations: 0.4888 MB / 0.6187 GB, free: 133.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.7858, allocations: 5.558 MB / 0.6241 GB, free: 132.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002644/0.7885, allocations: 2.715 MB / 0.6268 GB, free: 131.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.472e-06/0.7885, allocations: 0 / 0.6268 GB, free: 131.6 MB / 426.7 MB Notification: Performance of Templates: time 0.05005/0.8385, allocations: 34.87 MB / 0.6609 GB, free: 117 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches