Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [: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.001019/0.001019, allocations: 184.9 kB / 8.136 MB, free: 2.133 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.186/1.186, allocations: 221.4 MB / 229.9 MB, free: 3.094 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.0008583/0.0008584, allocations: 94.67 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.5e-06/5.52e-06, allocations: 0 / 336.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1821, allocations: 50.41 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.2934, allocations: 109.9 MB / 496.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.2937, allocations: 83.95 kB / 496.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.272/0.5657, allocations: 64.63 MB / 0.5484 GB, free: 61.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001977/0.5659, allocations: 91.92 kB / 0.5484 GB, free: 61.67 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00576/0.5717, allocations: 3.245 MB / 0.5516 GB, free: 58.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5717, allocations: 12.03 kB / 0.5516 GB, free: 58.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5729, allocations: 443.1 kB / 0.5521 GB, free: 57.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/0.577, allocations: 2.394 MB / 0.5544 GB, free: 55.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.63e-05/0.5771, allocations: 100 kB / 0.5545 GB, free: 55.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004246/0.5775, allocations: 187.9 kB / 0.5547 GB, free: 55.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004872/0.5824, allocations: 3.363 MB / 0.5579 GB, free: 51.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005157/0.5876, allocations: 3.861 MB / 0.5617 GB, free: 47.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.546e-05/0.5877, allocations: 15.84 kB / 0.5617 GB, free: 47.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.5879, allocations: 4 kB / 0.5617 GB, free: 47.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.397e-05/0.588, allocations: 130 kB / 0.5619 GB, free: 47.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.605, allocations: 13.07 MB / 0.5746 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.6066, allocations: 1.326 MB / 0.5759 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.6085, allocations: 1.588 MB / 0.5775 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.6088, allocations: 131.1 kB / 0.5776 GB, free: 31.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.6088, allocations: 56.47 kB / 0.5776 GB, free: 31.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 3.125e-06/0.6088, allocations: 4 kB / 0.5776 GB, free: 31.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.009638/0.6184, allocations: 6.406 MB / 0.5839 GB, free: 24.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.6185, allocations: 73.41 kB / 0.584 GB, free: 24.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.6205, allocations: 1.727 MB / 0.5857 GB, free: 22.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.6207, allocations: 29.7 kB / 0.5857 GB, free: 22.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.621, allocations: 1.125 MB / 0.5868 GB, free: 21.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.6213, allocations: 0.585 MB / 0.5874 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.6215, allocations: 0 / 0.5874 GB, free: 21.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.6216, allocations: 389.8 kB / 0.5877 GB, free: 20.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.6228, allocations: 1.082 MB / 0.5888 GB, free: 19.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.6242, allocations: 1.479 MB / 0.5902 GB, free: 17.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.6256, allocations: 1.298 MB / 0.5915 GB, free: 16.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.6256, allocations: 4 kB / 0.5915 GB, free: 16.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004381/0.63, allocations: 3.355 MB / 0.5948 GB, free: 13.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.63, allocations: 8 kB / 0.5948 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.6301, allocations: 15.91 kB / 0.5948 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.6318, allocations: 0.7907 MB / 0.5956 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.6336, allocations: 459.3 kB / 0.596 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006925/0.6405, allocations: 9.607 MB / 0.6054 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.6423, allocations: 75.83 kB / 0.6055 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.6425, allocations: 75.98 kB / 0.6055 GB, free: 1.605 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003429/0.6428, allocations: 158.4 kB / 0.6057 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.6432, allocations: 229.2 kB / 0.6059 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005021/0.6482, allocations: 3.167 MB / 0.609 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.6482, allocations: 19.98 kB / 0.609 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.6482, allocations: 8 kB / 0.609 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.6483, allocations: 7.969 kB / 0.609 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.6593, allocations: 6.34 MB / 0.6152 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.6594, allocations: 0 / 0.6152 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.6609, allocations: 303.6 kB / 0.6155 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/0.6634, allocations: 0.9057 MB / 0.6164 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.6635, allocations: 19.97 kB / 0.6164 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.6751, allocations: 12.64 MB / 0.6288 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.6752, allocations: 11.88 kB / 0.6288 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007256/0.6824, allocations: 4.923 MB / 0.6336 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.6838, allocations: 0.545 MB / 0.6341 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/0.6845, allocations: 19.98 kB / 0.6341 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.686, allocations: 83.92 kB / 0.6342 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.6863, allocations: 117.8 kB / 0.6343 GB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.6864, allocations: 55.89 kB / 0.6344 GB, free: 2.934 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.002167/0.6886, allocations: 1.303 MB / 0.6357 GB, free: 1.609 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002324/0.6909, allocations: 0.6408 MB / 0.6363 GB, free: 0.9688 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007069/0.6916, allocations: 331.1 kB / 0.6366 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00466/0.6963, allocations: 3.37 MB / 0.6399 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6963, allocations: 384 / 0.6399 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.6995, allocations: 2.317 MB / 0.6422 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.7023, allocations: 0.4989 MB / 0.6426 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.7139, allocations: 5.578 MB / 0.6481 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003777/0.7177, allocations: 2.705 MB / 0.6507 GB, free: 1.883 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.7177, allocations: 0 / 0.6507 GB, free: 1.883 MB / 426.7 MB Notification: Performance of Templates: time 0.1631/0.8808, allocations: 34.84 MB / 0.6848 GB, free: 132.6 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches