Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") [: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.0009734/0.0009734, allocations: 179.1 kB / 8.479 MB, free: 1.891 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.143/1.143, allocations: 205.2 MB / 214.1 MB, free: 5.156 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.0008935/0.0008933, allocations: 82 kB / 262.1 MB, free: 5.207 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.533e-06/6.553e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06486/0.06488, allocations: 47.57 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/0.3058, allocations: 104 MB / 466.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.3061, allocations: 84.45 kB / 466.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1246/0.4307, allocations: 48.3 MB / 0.5028 GB, free: 12.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001873/0.4309, allocations: 67.88 kB / 0.5029 GB, free: 12.04 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.004958/0.4359, allocations: 2.452 MB / 0.5053 GB, free: 9.527 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4359, allocations: 8.031 kB / 0.5053 GB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00082/0.4367, allocations: 328.4 kB / 0.5056 GB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/0.4398, allocations: 1.744 MB / 0.5073 GB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.4e-05/0.4399, allocations: 76 kB / 0.5074 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.4402, allocations: 143.8 kB / 0.5075 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00383/0.444, allocations: 2.446 MB / 0.5099 GB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/0.4482, allocations: 2.801 MB / 0.5126 GB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-05/0.4483, allocations: 11.84 kB / 0.5126 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.4484, allocations: 0 / 0.5126 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.57e-05/0.4485, allocations: 104.4 kB / 0.5127 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.4629, allocations: 9.557 MB / 0.5221 GB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4642, allocations: 0.9895 MB / 0.523 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.4659, allocations: 1.168 MB / 0.5242 GB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.4662, allocations: 138.4 kB / 0.5243 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4662, allocations: 51.81 kB / 0.5244 GB, free: 5.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 2.976e-06/0.4662, allocations: 0 / 0.5244 GB, free: 5.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=145): time 0.009264/0.4755, allocations: 5.425 MB / 0.5297 GB, free: 15.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.4756, allocations: 64.72 kB / 0.5297 GB, free: 15.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.4771, allocations: 1.232 MB / 0.5309 GB, free: 14.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.715e-05/0.4772, allocations: 25.7 kB / 0.531 GB, free: 14.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/0.4777, allocations: 0.8425 MB / 0.5318 GB, free: 13.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.478, allocations: 473 kB / 0.5322 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.4781, allocations: 4 kB / 0.5322 GB, free: 13.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4782, allocations: 369.8 kB / 0.5326 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.4794, allocations: 0.859 MB / 0.5334 GB, free: 12.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.4807, allocations: 1.168 MB / 0.5346 GB, free: 10.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.4821, allocations: 1.009 MB / 0.5356 GB, free: 9.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.4821, allocations: 4 kB / 0.5356 GB, free: 9.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00424/0.4863, allocations: 2.828 MB / 0.5383 GB, free: 6.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4863, allocations: 4 kB / 0.5383 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4864, allocations: 12 kB / 0.5383 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.4883, allocations: 0.8264 MB / 0.5391 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4895, allocations: 311.5 kB / 0.5394 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009419/0.499, allocations: 8.451 MB / 0.5477 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.5005, allocations: 60 kB / 0.5477 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.5008, allocations: 63.98 kB / 0.5478 GB, free: 12.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003408/0.5011, allocations: 133.4 kB / 0.5479 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.5015, allocations: 177.8 kB / 0.5481 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004679/0.5062, allocations: 2.698 MB / 0.5507 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.5062, allocations: 16 kB / 0.5508 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5063, allocations: 8 kB / 0.5508 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.5063, allocations: 11.97 kB / 0.5508 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009035/0.5153, allocations: 5.252 MB / 0.5559 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.5154, allocations: 4 kB / 0.5559 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.5164, allocations: 200 kB / 0.5561 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/0.5187, allocations: 0.8782 MB / 0.557 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.5189, allocations: 19.98 kB / 0.557 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.5297, allocations: 9.89 MB / 0.5666 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.5297, allocations: 11.88 kB / 0.5666 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00619/0.5359, allocations: 4.19 MB / 0.5707 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.537, allocations: 454.8 kB / 0.5712 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/0.5374, allocations: 4 kB / 0.5712 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.5385, allocations: 59.94 kB / 0.5712 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.5387, allocations: 101.2 kB / 0.5713 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.5388, allocations: 39.98 kB / 0.5714 GB, free: 3.934 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001459/0.5403, allocations: 0.9347 MB / 0.5723 GB, free: 2.996 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00184/0.5421, allocations: 0.5002 MB / 0.5728 GB, free: 2.496 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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004917/0.5426, allocations: 285.5 kB / 0.573 GB, free: 2.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1475/0.6902, allocations: 2.738 MB / 0.5757 GB, free: 83.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.6902, allocations: 0 / 0.5757 GB, free: 83.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.6925, allocations: 1.836 MB / 0.5775 GB, free: 83.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.6944, allocations: 358.4 kB / 0.5778 GB, free: 83.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.7007, allocations: 4.252 MB / 0.582 GB, free: 82.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/0.7023, allocations: 2.135 MB / 0.5841 GB, free: 81.81 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.7024, allocations: 0 / 0.5841 GB, free: 81.81 MB / 426.7 MB Notification: Performance of Templates: time 0.03932/0.7417, allocations: 27.82 MB / 0.6113 GB, free: 80.11 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches