Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.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_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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 4.0.0+maint.om/package.mo): time 0.0009797/0.0009797, allocations: 178.9 kB / 8.135 MB, free: 0.8789 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 221.4 MB / 229.9 MB, free: 13.52 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.0009389, allocations: 106.9 kB / 280.8 MB, free: 10.51 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 7.845e-06/7.865e-06, allocations: 4 kB / 336.5 MB, free: 2.789 MB / 274.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0795/0.07953, allocations: 50.42 MB / 386.9 MB, free: 336 kB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.3018, allocations: 107.4 MB / 494.4 MB, free: 6.227 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.3021, allocations: 83.95 kB / 494.4 MB, free: 6.145 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.1174/0.4195, allocations: 43.93 MB / 0.5258 GB, free: 10.36 MB / 418.8 MB Notification: Performance of Transformations before backend: time 0.0001213/0.4196, allocations: 51.94 kB / 0.5258 GB, free: 10.3 MB / 418.8 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.003612/0.4232, allocations: 2.073 MB / 0.5278 GB, free: 8.18 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.4233, allocations: 8.031 kB / 0.5278 GB, free: 8.172 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006963/0.424, allocations: 277 kB / 0.5281 GB, free: 7.898 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.4267, allocations: 1.443 MB / 0.5295 GB, free: 6.398 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-05/0.4267, allocations: 64 kB / 0.5296 GB, free: 6.336 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.427, allocations: 115.9 kB / 0.5297 GB, free: 6.223 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002931/0.4299, allocations: 1.765 MB / 0.5314 GB, free: 4.457 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.4333, allocations: 2.12 MB / 0.5335 GB, free: 2.266 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.434e-05/0.4333, allocations: 4 kB / 0.5335 GB, free: 2.262 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.4335, allocations: 3.938 kB / 0.5335 GB, free: 2.258 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.639e-05/0.4336, allocations: 99.58 kB / 0.5336 GB, free: 2.16 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1432/0.5768, allocations: 7.081 MB / 0.5405 GB, free: 83.7 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009444/0.5778, allocations: 0.7584 MB / 0.5412 GB, free: 83.68 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009678/0.5788, allocations: 0.7587 MB / 0.542 GB, free: 83.67 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.579, allocations: 132.3 kB / 0.5421 GB, free: 83.58 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007287/0.5797, allocations: 0.6606 MB / 0.5428 GB, free: 83.48 MB / 418.8 MB Notification: Performance of pre-optimization done (n=102): time 3.056e-06/0.5798, allocations: 0 / 0.5428 GB, free: 83.48 MB / 418.8 MB Notification: Performance of matching and sorting (n=131): time 0.009629/0.5894, allocations: 5.836 MB / 0.5485 GB, free: 82.56 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5895, allocations: 174.8 kB / 0.5486 GB, free: 82.38 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.5907, allocations: 1.013 MB / 0.5496 GB, free: 82.22 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 7.939e-05/0.5908, allocations: 25.7 kB / 0.5496 GB, free: 82.19 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.5912, allocations: 0.735 MB / 0.5504 GB, free: 81.87 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.5914, allocations: 441.1 kB / 0.5508 GB, free: 81.64 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.5915, allocations: 3.156 kB / 0.5508 GB, free: 81.64 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.5916, allocations: 364.1 kB / 0.5511 GB, free: 81.33 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007811/0.5924, allocations: 0.6592 MB / 0.5518 GB, free: 81.33 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/0.5933, allocations: 1.005 MB / 0.5527 GB, free: 80.96 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000972/0.5942, allocations: 0.8261 MB / 0.5536 GB, free: 80.95 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5943, allocations: 3.938 kB / 0.5536 GB, free: 80.95 MB / 418.8 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003439/0.5977, allocations: 2.346 MB / 0.5558 GB, free: 80.76 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5977, allocations: 3.719 kB / 0.5559 GB, free: 80.76 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.5978, allocations: 18.23 kB / 0.5559 GB, free: 80.76 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.5993, allocations: 0.6454 MB / 0.5565 GB, free: 80.73 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.6004, allocations: 295.4 kB / 0.5568 GB, free: 80.73 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/0.6064, allocations: 5.899 MB / 0.5625 GB, free: 78.27 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.6075, allocations: 58.67 kB / 0.5626 GB, free: 78.26 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.6077, allocations: 57.77 kB / 0.5627 GB, free: 78.26 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (150): * Single equations (assignments): 146 * 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,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.6079, allocations: 140.6 kB / 0.5628 GB, free: 78.16 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.6081, allocations: 143.6 kB / 0.5629 GB, free: 78.08 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003439/0.6116, allocations: 2.237 MB / 0.5651 GB, free: 77.95 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.6116, allocations: 14.53 kB / 0.5651 GB, free: 77.95 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6116, allocations: 7.031 kB / 0.5651 GB, free: 77.95 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.6116, allocations: 11.5 kB / 0.5651 GB, free: 77.95 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006541/0.6182, allocations: 4.453 MB / 0.5695 GB, free: 77.41 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6182, allocations: 0 / 0.5695 GB, free: 77.41 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000795/0.619, allocations: 187.5 kB / 0.5697 GB, free: 77.41 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.6208, allocations: 0.7101 MB / 0.5704 GB, free: 77.36 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/0.6209, allocations: 18.36 kB / 0.5704 GB, free: 77.36 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006839/0.6278, allocations: 7.465 MB / 0.5777 GB, free: 73.7 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6278, allocations: 5.375 kB / 0.5777 GB, free: 73.7 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004838/0.6326, allocations: 3.358 MB / 0.581 GB, free: 73.16 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007577/0.6334, allocations: 376.6 kB / 0.5813 GB, free: 73 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.6337, allocations: 12.84 kB / 0.5813 GB, free: 73 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/0.6345, allocations: 46.97 kB / 0.5814 GB, free: 73 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.6347, allocations: 76.69 kB / 0.5814 GB, free: 72.99 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.592e-05/0.6348, allocations: 41.16 kB / 0.5815 GB, free: 72.99 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.001028/0.6359, allocations: 0.7655 MB / 0.5822 GB, free: 72.88 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.001472/0.6373, allocations: 445.2 kB / 0.5827 GB, free: 72.88 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (102): * Single equations (assignments): 96 * 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 {(5,76.0%) 23,(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.0009479/0.6383, allocations: 497.5 kB / 0.5831 GB, free: 72.78 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.003234/0.6415, allocations: 2.184 MB / 0.5853 GB, free: 72.34 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6416, allocations: 1.25 kB / 0.5853 GB, free: 72.34 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/0.6438, allocations: 1.436 MB / 0.5867 GB, free: 71.92 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.6452, allocations: 295.2 kB / 0.5869 GB, free: 71.91 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/0.6514, allocations: 3.496 MB / 0.5904 GB, free: 70.91 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/0.6532, allocations: 1.843 MB / 0.5922 GB, free: 70.16 MB / 418.8 MB Notification: Performance of SimCode: time 7.42e-07/0.6532, allocations: 0 / 0.5922 GB, free: 70.16 MB / 418.8 MB Notification: Performance of Templates: time 0.03499/0.6882, allocations: 22.95 MB / 0.6146 GB, free: 53.83 MB / 418.8 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches