Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 186.9 kB / 8.141 MB, free: 2.125 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.189/1.189, allocations: 221.4 MB / 229.9 MB, free: 3.066 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.0009635/0.0009632, allocations: 94.11 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.632e-06, allocations: 0 / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2071, allocations: 50.4 MB / 386.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.3256, allocations: 110.1 MB / 497 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/0.3261, allocations: 96.47 kB / 497.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.3301/0.6562, allocations: 79.56 MB / 0.5632 GB, free: 32.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003314/0.6565, allocations: 75.94 kB / 0.5633 GB, free: 32.54 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.008448/0.665, allocations: 3.23 MB / 0.5664 GB, free: 29.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6651, allocations: 8.031 kB / 0.5664 GB, free: 29.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.6695, allocations: 0.7373 MB / 0.5671 GB, free: 28.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007546/0.6771, allocations: 3.309 MB / 0.5704 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.6772, allocations: 104 kB / 0.5705 GB, free: 25.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009973/0.6782, allocations: 195.9 kB / 0.5707 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00624/0.6845, allocations: 3.168 MB / 0.5738 GB, free: 21.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007722/0.6922, allocations: 3.704 MB / 0.5774 GB, free: 17.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.6924, allocations: 0 / 0.5774 GB, free: 17.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005268/0.6929, allocations: 4 kB / 0.5774 GB, free: 17.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.693, allocations: 154.4 kB / 0.5775 GB, free: 17.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/0.7135, allocations: 13.37 MB / 0.5906 GB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.7149, allocations: 1.057 MB / 0.5916 GB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.7168, allocations: 1.336 MB / 0.5929 GB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00534/0.7221, allocations: 3.257 MB / 0.5961 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.7222, allocations: 51.88 kB / 0.5961 GB, free: 14.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=159): time 5.04e-06/0.7222, allocations: 4 kB / 0.5961 GB, free: 14.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.01122/0.7334, allocations: 4.523 MB / 0.6006 GB, free: 9.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.7335, allocations: 72.72 kB / 0.6006 GB, free: 9.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004213/0.7378, allocations: 1.275 MB / 0.6019 GB, free: 8.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003803/0.7382, allocations: 29.7 kB / 0.6019 GB, free: 8.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.7393, allocations: 1.171 MB / 0.6031 GB, free: 7.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008719/0.7402, allocations: 0.5273 MB / 0.6036 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.7404, allocations: 0 / 0.6036 GB, free: 6.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002719/0.7407, allocations: 385.8 kB / 0.6039 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.7428, allocations: 0.7225 MB / 0.6046 GB, free: 5.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.7453, allocations: 1.232 MB / 0.6058 GB, free: 4.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/0.7485, allocations: 1.013 MB / 0.6068 GB, free: 3.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/0.7485, allocations: 7.938 kB / 0.6068 GB, free: 3.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.0065/0.755, allocations: 2.581 MB / 0.6094 GB, free: 448 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.7551, allocations: 4 kB / 0.6094 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/0.7551, allocations: 16 kB / 0.6094 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.7567, allocations: 364.3 kB / 0.6097 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/0.7598, allocations: 411.5 kB / 0.6101 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009779/0.7696, allocations: 7.261 MB / 0.6172 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.7719, allocations: 43.88 kB / 0.6173 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/0.7722, allocations: 76 kB / 0.6173 GB, free: 7.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (215): * 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): 1 * Torn equation systems: 4 * 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: 4 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000447/0.7727, allocations: 160.5 kB / 0.6175 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.7731, allocations: 181.8 kB / 0.6177 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006804/0.7799, allocations: 2.411 MB / 0.62 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.78, allocations: 16 kB / 0.62 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.78, allocations: 8 kB / 0.62 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.78, allocations: 7.969 kB / 0.62 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.7937, allocations: 5.195 MB / 0.6251 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.7938, allocations: 0 / 0.6251 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/0.7956, allocations: 211.7 kB / 0.6253 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/0.7976, allocations: 0.5242 MB / 0.6258 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.7977, allocations: 19.98 kB / 0.6258 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.811, allocations: 11.34 MB / 0.6369 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.811, allocations: 7.938 kB / 0.6369 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005767/0.8168, allocations: 3.509 MB / 0.6403 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.8178, allocations: 434.7 kB / 0.6408 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/0.8182, allocations: 16.17 kB / 0.6408 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.8191, allocations: 47.95 kB / 0.6408 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.8194, allocations: 85.12 kB / 0.6409 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.8195, allocations: 47.98 kB / 0.641 GB, free: 14.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001476/0.821, allocations: 0.9449 MB / 0.6419 GB, free: 13.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002227/0.8232, allocations: 0.5546 MB / 0.6424 GB, free: 13.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006647/0.8239, allocations: 340.3 kB / 0.6427 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.8274, allocations: 2.363 MB / 0.645 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8274, allocations: 7.938 kB / 0.6451 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.8298, allocations: 1.617 MB / 0.6466 GB, free: 8.676 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.8318, allocations: 370.8 kB / 0.647 GB, free: 8.312 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/0.8415, allocations: 4.811 MB / 0.6517 GB, free: 3.438 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002551/0.844, allocations: 2.483 MB / 0.6541 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/0.844, allocations: 0 / 0.6541 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of Templates: time 0.171/1.015, allocations: 28.16 MB / 0.6816 GB, free: 132.9 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches