Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [: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 4.0.0+maint.om/package.mo): time 0.0009442/0.0009443, allocations: 184.2 kB / 8.131 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 221.4 MB / 229.9 MB, free: 7.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008549, allocations: 88.62 kB / 280.8 MB, free: 5.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.552e-06, allocations: 4 kB / 336.5 MB, free: 10.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07507/0.07509, allocations: 50.42 MB / 386.9 MB, free: 7.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.3072, allocations: 103.4 MB / 490.4 MB, free: 7.664 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.3075, allocations: 79.95 kB / 490.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1189/0.4264, allocations: 43.98 MB / 0.5219 GB, free: 11.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001639/0.4266, allocations: 59.92 kB / 0.522 GB, free: 11.23 MB / 410.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.00404/0.4306, allocations: 2.189 MB / 0.5241 GB, free: 8.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.4307, allocations: 8.031 kB / 0.5241 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008125/0.4315, allocations: 296.8 kB / 0.5244 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.4345, allocations: 1.554 MB / 0.5259 GB, free: 7.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.4346, allocations: 64 kB / 0.526 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.4349, allocations: 127.9 kB / 0.5261 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003626/0.4385, allocations: 2.058 MB / 0.5281 GB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.4424, allocations: 2.386 MB / 0.5304 GB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/0.4425, allocations: 7.906 kB / 0.5304 GB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.4427, allocations: 0 / 0.5304 GB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-05/0.4427, allocations: 91.94 kB / 0.5305 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.4558, allocations: 8.092 MB / 0.5384 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.457, allocations: 0.8171 MB / 0.5392 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.4584, allocations: 0.9417 MB / 0.5401 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.4587, allocations: 126.1 kB / 0.5403 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.4588, allocations: 51.41 kB / 0.5403 GB, free: 7.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 4.098e-06/0.4588, allocations: 0 / 0.5403 GB, free: 7.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.008336/0.4671, allocations: 4.415 MB / 0.5446 GB, free: 3.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.4672, allocations: 68.41 kB / 0.5447 GB, free: 3.352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.4688, allocations: 1.112 MB / 0.5458 GB, free: 2.234 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.4689, allocations: 25.7 kB / 0.5458 GB, free: 2.203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.4694, allocations: 0.7678 MB / 0.5466 GB, free: 1.422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.4697, allocations: 405.9 kB / 0.5469 GB, free: 1.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.4698, allocations: 0 / 0.5469 GB, free: 1.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.47, allocations: 361.9 kB / 0.5473 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.111/0.581, allocations: 0.6909 MB / 0.548 GB, free: 156.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.582, allocations: 0.9972 MB / 0.5489 GB, free: 156.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000944/0.5829, allocations: 0.8437 MB / 0.5498 GB, free: 156.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.583, allocations: 0 / 0.5498 GB, free: 156.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002863/0.5858, allocations: 2.188 MB / 0.5519 GB, free: 156.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5859, allocations: 6.531 kB / 0.5519 GB, free: 156.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5859, allocations: 8.062 kB / 0.5519 GB, free: 156.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008562/0.5867, allocations: 415.6 kB / 0.5523 GB, free: 156.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.588, allocations: 337.7 kB / 0.5526 GB, free: 156.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.5914, allocations: 4.257 MB / 0.5568 GB, free: 154.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.5925, allocations: 59.31 kB / 0.5568 GB, free: 154.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.5926, allocations: 52.94 kB / 0.5569 GB, free: 154.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002269/0.5928, allocations: 146.4 kB / 0.557 GB, free: 154 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.5931, allocations: 147.9 kB / 0.5572 GB, free: 154 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.5959, allocations: 2.039 MB / 0.5592 GB, free: 153.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5959, allocations: 14.03 kB / 0.5592 GB, free: 153.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.596, allocations: 3.469 kB / 0.5592 GB, free: 153.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.596, allocations: 6.281 kB / 0.5592 GB, free: 153.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005756/0.6017, allocations: 4.197 MB / 0.5633 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.6018, allocations: 6.422 kB / 0.5633 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.6028, allocations: 234.7 kB / 0.5635 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.604, allocations: 468 kB / 0.564 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/0.6041, allocations: 13.44 kB / 0.564 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.6084, allocations: 5.727 MB / 0.5696 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6084, allocations: 7.625 kB / 0.5696 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003966/0.6124, allocations: 3.236 MB / 0.5727 GB, free: 149.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007717/0.6132, allocations: 386.4 kB / 0.5731 GB, free: 149.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.6135, allocations: 11.94 kB / 0.5731 GB, free: 149.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/0.6143, allocations: 54.62 kB / 0.5732 GB, free: 149.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.6145, allocations: 80.52 kB / 0.5732 GB, free: 149.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/0.6146, allocations: 40.58 kB / 0.5733 GB, free: 149.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001003/0.6156, allocations: 0.8371 MB / 0.5741 GB, free: 149 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001311/0.6169, allocations: 420.5 kB / 0.5745 GB, free: 149 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 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%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004242/0.6174, allocations: 283.3 kB / 0.5748 GB, free: 148.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.62, allocations: 2.132 MB / 0.5769 GB, free: 148.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.62, allocations: 1.875 kB / 0.5769 GB, free: 148.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.6216, allocations: 1.386 MB / 0.5782 GB, free: 147.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.623, allocations: 311 kB / 0.5785 GB, free: 147.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/0.6285, allocations: 3.669 MB / 0.5821 GB, free: 146.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/0.63, allocations: 1.966 MB / 0.584 GB, free: 145.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.63, allocations: 0 / 0.584 GB, free: 145.3 MB / 426.7 MB Notification: Performance of Templates: time 0.0332/0.6632, allocations: 21.59 MB / 0.6051 GB, free: 141.2 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches