Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001469/0.001469, allocations: 199.8 kB / 8.542 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009168/0.0009169, allocations: 92.56 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.961e-06, allocations: 0 / 343.2 MB, free: 8.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08041/0.08043, allocations: 51.48 MB / 394.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/0.3271, allocations: 110.7 MB / 0.4935 GB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.3273, allocations: 90.19 kB / 0.4936 GB, free: 14.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.1714/0.4987, allocations: 64.8 MB / 0.5569 GB, free: 2.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004993/0.4993, allocations: 83.94 kB / 0.5569 GB, free: 2.855 MB / 426.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.009241/0.5085, allocations: 3.261 MB / 0.5601 GB, free: 15.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5086, allocations: 12.03 kB / 0.5601 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.5111, allocations: 495 kB / 0.5606 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/0.5171, allocations: 2.395 MB / 0.5629 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.5172, allocations: 103.9 kB / 0.563 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009069/0.5182, allocations: 176 kB / 0.5632 GB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007181/0.5253, allocations: 3.374 MB / 0.5665 GB, free: 8.938 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00842/0.5338, allocations: 3.854 MB / 0.5703 GB, free: 4.918 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-05/0.5339, allocations: 8 kB / 0.5703 GB, free: 4.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004914/0.5344, allocations: 4 kB / 0.5703 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.5346, allocations: 130 kB / 0.5704 GB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1398/0.6744, allocations: 13.07 MB / 0.5832 GB, free: 128.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.6759, allocations: 1.335 MB / 0.5845 GB, free: 128.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.6778, allocations: 1.587 MB / 0.586 GB, free: 128.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.6781, allocations: 136.3 kB / 0.5861 GB, free: 128.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.6782, allocations: 50.97 kB / 0.5862 GB, free: 128.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 3.236e-06/0.6782, allocations: 3.625 kB / 0.5862 GB, free: 128.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.0107/0.6889, allocations: 6.405 MB / 0.5925 GB, free: 127.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.689, allocations: 71.59 kB / 0.5925 GB, free: 127.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.6915, allocations: 1.735 MB / 0.5942 GB, free: 127.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.6917, allocations: 25.7 kB / 0.5942 GB, free: 127.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/0.6921, allocations: 1.121 MB / 0.5953 GB, free: 126.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.6925, allocations: 0.5859 MB / 0.5959 GB, free: 126.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.6926, allocations: 2.297 kB / 0.5959 GB, free: 126.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.6927, allocations: 381.5 kB / 0.5963 GB, free: 126.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.694, allocations: 1.081 MB / 0.5973 GB, free: 126.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.6954, allocations: 1.476 MB / 0.5988 GB, free: 125.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.6969, allocations: 1.299 MB / 0.6 GB, free: 125.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.6969, allocations: 7.562 kB / 0.6 GB, free: 125.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004773/0.7017, allocations: 3.359 MB / 0.6033 GB, free: 125.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.7017, allocations: 9.125 kB / 0.6033 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.7018, allocations: 11 kB / 0.6033 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.7036, allocations: 0.7935 MB / 0.6041 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/0.7055, allocations: 457 kB / 0.6046 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007389/0.7129, allocations: 9.617 MB / 0.6139 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.7148, allocations: 70.77 kB / 0.614 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.715, allocations: 74.19 kB / 0.6141 GB, free: 119.2 MB / 442.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.0003592/0.7154, allocations: 158.9 kB / 0.6142 GB, free: 119.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/0.7158, allocations: 231.3 kB / 0.6145 GB, free: 119 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.7205, allocations: 3.164 MB / 0.6175 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.7205, allocations: 18.5 kB / 0.6176 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.7205, allocations: 4.406 kB / 0.6176 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.7205, allocations: 17.25 kB / 0.6176 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009045/0.7296, allocations: 6.338 MB / 0.6238 GB, free: 116 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7296, allocations: 3.938 kB / 0.6238 GB, free: 116 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.731, allocations: 309.6 kB / 0.6241 GB, free: 116 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.7332, allocations: 0.9042 MB / 0.625 GB, free: 115.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.7334, allocations: 16.33 kB / 0.625 GB, free: 115.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008957/0.7423, allocations: 12.64 MB / 0.6373 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.7424, allocations: 6.031 kB / 0.6373 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006337/0.7487, allocations: 4.921 MB / 0.6421 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.75, allocations: 0.5492 MB / 0.6427 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/0.7504, allocations: 14.55 kB / 0.6427 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.7517, allocations: 86.06 kB / 0.6428 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.752, allocations: 123.9 kB / 0.6429 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.7522, allocations: 55.44 kB / 0.6429 GB, free: 103.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001823/0.754, allocations: 1.312 MB / 0.6442 GB, free: 102.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002083/0.7561, allocations: 0.6301 MB / 0.6448 GB, free: 102.6 MB / 442.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.0005167/0.7566, allocations: 346.5 kB / 0.6452 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.7606, allocations: 3.36 MB / 0.6484 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7606, allocations: 5.234 kB / 0.6485 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002605/0.7632, allocations: 2.314 MB / 0.6507 GB, free: 99.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.7655, allocations: 0.4987 MB / 0.6512 GB, free: 99.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.7743, allocations: 5.564 MB / 0.6566 GB, free: 97.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002382/0.7767, allocations: 2.717 MB / 0.6593 GB, free: 96.39 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.7767, allocations: 0 / 0.6593 GB, free: 96.39 MB / 442.7 MB Notification: Performance of Templates: time 0.04999/0.8267, allocations: 34.96 MB / 0.6934 GB, free: 85.66 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches