Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002487/0.002494, allocations: 179 kB / 8.151 MB, free: 2.199 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.67/1.67, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.001402/0.001402, allocations: 94.3 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.145e-05/1.169e-05, allocations: 4 kB / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2341, allocations: 47.55 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.3986, allocations: 106.5 MB / 468.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.399, allocations: 87.94 kB / 468.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.393/0.792, allocations: 43.69 MB / 0.5001 GB, free: 98.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002613/0.7923, allocations: 54.42 kB / 0.5002 GB, free: 98.21 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.006255/0.7986, allocations: 2.067 MB / 0.5022 GB, free: 97.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.7987, allocations: 9.812 kB / 0.5022 GB, free: 97.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.7998, allocations: 280.9 kB / 0.5025 GB, free: 97.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.804, allocations: 1.442 MB / 0.5039 GB, free: 97.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.8042, allocations: 58.53 kB / 0.5039 GB, free: 97.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.8046, allocations: 121.5 kB / 0.504 GB, free: 97.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00482/0.8094, allocations: 1.77 MB / 0.5058 GB, free: 97.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004989/0.8144, allocations: 2.119 MB / 0.5078 GB, free: 96.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.823e-05/0.8146, allocations: 9.734 kB / 0.5078 GB, free: 96.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.8148, allocations: 3.406 kB / 0.5078 GB, free: 96.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.754e-05/0.8149, allocations: 91.55 kB / 0.5079 GB, free: 96.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.8315, allocations: 7.105 MB / 0.5149 GB, free: 95.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.8333, allocations: 0.7575 MB / 0.5156 GB, free: 95.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/0.8351, allocations: 0.7537 MB / 0.5163 GB, free: 95.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/0.8355, allocations: 135.5 kB / 0.5165 GB, free: 94.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.8369, allocations: 0.6615 MB / 0.5171 GB, free: 94.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 5.451e-06/0.8369, allocations: 0 / 0.5171 GB, free: 94.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.01898/0.8559, allocations: 6.078 MB / 0.5231 GB, free: 93.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.856, allocations: 199.6 kB / 0.5232 GB, free: 92.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.8582, allocations: 1.013 MB / 0.5242 GB, free: 92.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.8586, allocations: 28.3 kB / 0.5243 GB, free: 92.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/0.8592, allocations: 0.7192 MB / 0.525 GB, free: 91.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005805/0.8598, allocations: 430 kB / 0.5254 GB, free: 91.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.8599, allocations: 0 / 0.5254 GB, free: 91.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.86, allocations: 370.7 kB / 0.5257 GB, free: 91.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.8616, allocations: 0.656 MB / 0.5264 GB, free: 90.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.8635, allocations: 1.005 MB / 0.5274 GB, free: 90.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.8657, allocations: 0.8254 MB / 0.5282 GB, free: 90.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/0.8658, allocations: 3.688 kB / 0.5282 GB, free: 90.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006977/0.8728, allocations: 2.262 MB / 0.5304 GB, free: 89.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.8729, allocations: 5.875 kB / 0.5304 GB, free: 89.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/0.8729, allocations: 8.781 kB / 0.5304 GB, free: 89.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.8757, allocations: 0.652 MB / 0.531 GB, free: 89.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.8781, allocations: 303.3 kB / 0.5313 GB, free: 89.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.89, allocations: 6.051 MB / 0.5372 GB, free: 85.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.8917, allocations: 55.28 kB / 0.5373 GB, free: 85.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.892, allocations: 59.41 kB / 0.5373 GB, free: 85.26 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 {(6,80.6%) 22,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004115/0.8924, allocations: 61.02 kB / 0.5374 GB, free: 85.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.8929, allocations: 146.8 kB / 0.5375 GB, free: 85.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007325/0.9003, allocations: 2.226 MB / 0.5397 GB, free: 84.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/0.9004, allocations: 16.69 kB / 0.5397 GB, free: 84.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/0.9004, allocations: 8.531 kB / 0.5397 GB, free: 84.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-05/0.9004, allocations: 7.203 kB / 0.5397 GB, free: 84.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.9136, allocations: 4.503 MB / 0.5441 GB, free: 82.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.9137, allocations: 1.406 kB / 0.5441 GB, free: 82.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.9154, allocations: 185.8 kB / 0.5443 GB, free: 82.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003748/0.9192, allocations: 0.7284 MB / 0.545 GB, free: 82.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/0.9195, allocations: 16.84 kB / 0.545 GB, free: 82.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/0.9344, allocations: 7.485 MB / 0.5523 GB, free: 77.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.9345, allocations: 2.344 kB / 0.5523 GB, free: 77.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009489/0.944, allocations: 3.341 MB / 0.5556 GB, free: 75.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.9455, allocations: 377.6 kB / 0.556 GB, free: 75.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006165/0.9462, allocations: 19.19 kB / 0.556 GB, free: 75.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/0.9481, allocations: 41.61 kB / 0.556 GB, free: 75.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004121/0.9485, allocations: 73.08 kB / 0.5561 GB, free: 75.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.9487, allocations: 41.72 kB / 0.5561 GB, free: 75.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001929/0.9506, allocations: 0.7657 MB / 0.5569 GB, free: 75.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002556/0.9533, allocations: 435.7 kB / 0.5573 GB, free: 74.71 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.001327/0.9546, allocations: 498.1 kB / 0.5578 GB, free: 74.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005439/0.9601, allocations: 2.19 MB / 0.5599 GB, free: 72.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.9601, allocations: 0 / 0.5599 GB, free: 72.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003941/0.9641, allocations: 1.452 MB / 0.5613 GB, free: 70.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/0.9672, allocations: 281.2 kB / 0.5616 GB, free: 70.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.9779, allocations: 3.545 MB / 0.5651 GB, free: 67.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/0.9804, allocations: 1.846 MB / 0.5669 GB, free: 65.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.9804, allocations: 0 / 0.5669 GB, free: 65.98 MB / 394.7 MB Notification: Performance of Templates: time 0.08755/1.068, allocations: 61.74 MB / 0.6272 GB, free: 8.645 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches