Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") [: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.001053/0.001053, allocations: 189.9 kB / 8.482 MB, free: 1.793 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.136/1.136, allocations: 205.2 MB / 214.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008888/0.0008888, allocations: 86.58 kB / 262.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.67e-06/5.7e-06, allocations: 0 / 315 MB, free: 8.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1759, allocations: 47.56 MB / 362.5 MB, free: 45.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.292, allocations: 106.5 MB / 469 MB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.2923, allocations: 83.95 kB / 469.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2372/0.5294, allocations: 43.69 MB / 0.5008 GB, free: 98.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001507/0.5296, allocations: 58.33 kB / 0.5008 GB, free: 98.43 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.003689/0.5333, allocations: 2.071 MB / 0.5029 GB, free: 97.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5334, allocations: 10.06 kB / 0.5029 GB, free: 97.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/0.5341, allocations: 275.5 kB / 0.5031 GB, free: 97.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.5365, allocations: 1.437 MB / 0.5045 GB, free: 97.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.5366, allocations: 61.59 kB / 0.5046 GB, free: 97.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.5368, allocations: 123.5 kB / 0.5047 GB, free: 97.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002551/0.5394, allocations: 1.768 MB / 0.5064 GB, free: 97.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.5422, allocations: 2.12 MB / 0.5085 GB, free: 96.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.549e-05/0.5423, allocations: 10.19 kB / 0.5085 GB, free: 96.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.5425, allocations: 5.5 kB / 0.5085 GB, free: 96.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.81e-05/0.5425, allocations: 92.88 kB / 0.5086 GB, free: 96.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009546/0.5521, allocations: 7.105 MB / 0.5156 GB, free: 95.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009191/0.553, allocations: 0.7531 MB / 0.5163 GB, free: 95.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009435/0.554, allocations: 0.7533 MB / 0.517 GB, free: 95.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.5543, allocations: 133.2 kB / 0.5172 GB, free: 95.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007269/0.555, allocations: 0.6633 MB / 0.5178 GB, free: 94.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 2.905e-06/0.555, allocations: 0 / 0.5178 GB, free: 94.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.009538/0.5645, allocations: 6.08 MB / 0.5237 GB, free: 93.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.5646, allocations: 197.9 kB / 0.5239 GB, free: 93.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.5658, allocations: 1.007 MB / 0.5249 GB, free: 92.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/0.5659, allocations: 29.55 kB / 0.5249 GB, free: 92.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.5663, allocations: 0.7445 MB / 0.5257 GB, free: 92.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.5666, allocations: 432.9 kB / 0.5261 GB, free: 91.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.5667, allocations: 0 / 0.5261 GB, free: 91.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.5667, allocations: 364.1 kB / 0.5264 GB, free: 91.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007676/0.5675, allocations: 0.6589 MB / 0.5271 GB, free: 91.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000903/0.5684, allocations: 1.003 MB / 0.5281 GB, free: 90.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009605/0.5694, allocations: 0.8224 MB / 0.5289 GB, free: 90.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5694, allocations: 3.438 kB / 0.5289 GB, free: 90.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003339/0.5727, allocations: 2.351 MB / 0.5312 GB, free: 89.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5728, allocations: 7.75 kB / 0.5312 GB, free: 89.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5728, allocations: 10.47 kB / 0.5312 GB, free: 89.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.5743, allocations: 0.6492 MB / 0.5318 GB, free: 89.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.5754, allocations: 297.2 kB / 0.5321 GB, free: 89.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.5809, allocations: 5.878 MB / 0.5378 GB, free: 85.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.582, allocations: 62.69 kB / 0.5379 GB, free: 85.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.5821, allocations: 54.53 kB / 0.5379 GB, free: 85.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 145 * 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 {(5,84.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.5823, allocations: 137.3 kB / 0.5381 GB, free: 85.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.5825, allocations: 144.6 kB / 0.5382 GB, free: 85.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/0.5861, allocations: 2.228 MB / 0.5404 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.5861, allocations: 13.88 kB / 0.5404 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.5861, allocations: 7.75 kB / 0.5404 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5862, allocations: 11.41 kB / 0.5404 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006827/0.593, allocations: 4.502 MB / 0.5448 GB, free: 82.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.593, allocations: 2.25 kB / 0.5448 GB, free: 82.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.5939, allocations: 184.5 kB / 0.545 GB, free: 82.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/0.5959, allocations: 0.7297 MB / 0.5457 GB, free: 82.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.5961, allocations: 19.19 kB / 0.5457 GB, free: 82.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007595/0.6037, allocations: 7.48 MB / 0.553 GB, free: 77.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6037, allocations: 5.094 kB / 0.553 GB, free: 77.35 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004737/0.6084, allocations: 3.338 MB / 0.5563 GB, free: 75.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007699/0.6092, allocations: 377 kB / 0.5567 GB, free: 75.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.6095, allocations: 14.97 kB / 0.5567 GB, free: 75.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/0.6103, allocations: 43.73 kB / 0.5567 GB, free: 75.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.6105, allocations: 73.38 kB / 0.5568 GB, free: 75.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.6106, allocations: 45.91 kB / 0.5568 GB, free: 75.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0009765/0.6116, allocations: 0.7691 MB / 0.5576 GB, free: 75.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001412/0.613, allocations: 438.2 kB / 0.558 GB, free: 74.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(7,63.3%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008602/0.6138, allocations: 491.7 kB / 0.5585 GB, free: 74.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00282/0.6167, allocations: 2.188 MB / 0.5606 GB, free: 72.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6167, allocations: 0 / 0.5606 GB, free: 72.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.6187, allocations: 1.446 MB / 0.562 GB, free: 70.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.6203, allocations: 299.7 kB / 0.5623 GB, free: 70.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.6261, allocations: 3.474 MB / 0.5657 GB, free: 67.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.6274, allocations: 1.841 MB / 0.5675 GB, free: 65.95 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6274, allocations: 0 / 0.5675 GB, free: 65.95 MB / 394.7 MB Notification: Performance of Templates: time 0.03507/0.6625, allocations: 22.89 MB / 0.5898 GB, free: 47.51 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_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_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches