Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [: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.001036/0.001036, allocations: 195.9 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000845/0.0008454, allocations: 85.94 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.243e-06, allocations: 0 / 343.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07986/0.07988, allocations: 51.47 MB / 394.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2218/0.3018, allocations: 104.6 MB / 499.2 MB, free: 4.867 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.302, allocations: 80.39 kB / 499.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1074/0.4094, allocations: 40.96 MB / 0.5276 GB, free: 1.062 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001807/0.4096, allocations: 51.94 kB / 0.5276 GB, free: 1.012 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00454/0.4142, allocations: 1.999 MB / 0.5296 GB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4142, allocations: 8.031 kB / 0.5296 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.4153, allocations: 289 kB / 0.5299 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.4182, allocations: 1.395 MB / 0.5312 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.4183, allocations: 60 kB / 0.5313 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/0.4186, allocations: 119.9 kB / 0.5314 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003102/0.4217, allocations: 1.73 MB / 0.5331 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/0.425, allocations: 2.113 MB / 0.5351 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.504e-05/0.4251, allocations: 4 kB / 0.5351 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.4253, allocations: 7.906 kB / 0.5352 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.053e-05/0.4253, allocations: 83.67 kB / 0.5352 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.4366, allocations: 7.507 MB / 0.5426 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.4377, allocations: 0.7248 MB / 0.5433 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.439, allocations: 0.812 MB / 0.5441 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.4392, allocations: 134 kB / 0.5442 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.4393, allocations: 51.41 kB / 0.5442 GB, free: 15.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 2.835e-06/0.4393, allocations: 0 / 0.5442 GB, free: 15.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.007315/0.4466, allocations: 3.992 MB / 0.5481 GB, free: 11.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4467, allocations: 64.41 kB / 0.5482 GB, free: 11.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.4479, allocations: 0.9219 MB / 0.5491 GB, free: 10.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.952e-05/0.448, allocations: 29.64 kB / 0.5491 GB, free: 10.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.4484, allocations: 0.7393 MB / 0.5499 GB, free: 9.695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.4487, allocations: 386.3 kB / 0.5502 GB, free: 9.312 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.4487, allocations: 0 / 0.5502 GB, free: 9.312 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4489, allocations: 361.8 kB / 0.5506 GB, free: 8.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008382/0.4497, allocations: 0.617 MB / 0.5512 GB, free: 8.336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.4507, allocations: 0.9523 MB / 0.5521 GB, free: 7.242 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.4518, allocations: 0.7753 MB / 0.5529 GB, free: 6.465 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4518, allocations: 0 / 0.5529 GB, free: 6.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003209/0.455, allocations: 2.039 MB / 0.5548 GB, free: 4.406 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.455, allocations: 4 kB / 0.5549 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.4551, allocations: 12 kB / 0.5549 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000976/0.4561, allocations: 415.4 kB / 0.5553 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4574, allocations: 335.5 kB / 0.5556 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00429/0.4617, allocations: 4.28 MB / 0.5598 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.4627, allocations: 39.95 kB / 0.5598 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.4628, allocations: 59.98 kB / 0.5599 GB, free: 15.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.463, allocations: 140.6 kB / 0.56 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.4633, allocations: 138.3 kB / 0.5601 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.4663, allocations: 1.816 MB / 0.5619 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.4663, allocations: 8 kB / 0.5619 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4664, allocations: 4 kB / 0.5619 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.4664, allocations: 7.969 kB / 0.5619 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/0.4725, allocations: 3.737 MB / 0.5656 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.4726, allocations: 0 / 0.5656 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.4737, allocations: 219.7 kB / 0.5658 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.475, allocations: 463.3 kB / 0.5662 GB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/0.475, allocations: 23.95 kB / 0.5662 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/0.4804, allocations: 5.715 MB / 0.5718 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4805, allocations: 3.938 kB / 0.5718 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1126/0.593, allocations: 2.862 MB / 0.5746 GB, free: 146.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006144/0.5937, allocations: 340.1 kB / 0.5749 GB, free: 146.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.5939, allocations: 12.72 kB / 0.575 GB, free: 146.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.5947, allocations: 42 kB / 0.575 GB, free: 146.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5948, allocations: 70.14 kB / 0.5751 GB, free: 146.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.5949, allocations: 37.2 kB / 0.5751 GB, free: 146.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0007738/0.5957, allocations: 0.6848 MB / 0.5758 GB, free: 146.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001142/0.5969, allocations: 393.3 kB / 0.5761 GB, free: 146.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * 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: 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003738/0.5972, allocations: 288.3 kB / 0.5764 GB, free: 146.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.5994, allocations: 1.955 MB / 0.5783 GB, free: 146 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5994, allocations: 0 / 0.5783 GB, free: 146 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.6009, allocations: 1.254 MB / 0.5795 GB, free: 145.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.6022, allocations: 283.6 kB / 0.5798 GB, free: 145.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004697/0.6069, allocations: 3.373 MB / 0.5831 GB, free: 144.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/0.6081, allocations: 1.773 MB / 0.5848 GB, free: 144.1 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6081, allocations: 0 / 0.5848 GB, free: 144.1 MB / 442.7 MB Notification: Performance of Templates: time 0.02771/0.6358, allocations: 20.04 MB / 0.6044 GB, free: 143.1 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches