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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.37/1.37, allocations: 221.5 MB / 230.3 MB, free: 7.512 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.0008227/0.0008227, allocations: 94.23 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.606e-05, allocations: 4 kB / 337.1 MB, free: 9.996 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.08848, allocations: 50.42 MB / 387.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3212/0.4097, allocations: 110.2 MB / 497.7 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/0.4102, allocations: 87.94 kB / 497.8 MB, free: 496 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4/0.8102, allocations: 79.73 MB / 0.564 GB, free: 95.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.8102, allocations: 0 / 0.564 GB, free: 95.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002585/0.8105, allocations: 77.98 kB / 0.564 GB, free: 95.23 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009118/0.8196, allocations: 3.215 MB / 0.5672 GB, free: 94.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.8197, allocations: 12.81 kB / 0.5672 GB, free: 94.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.8241, allocations: 0.7262 MB / 0.5679 GB, free: 93.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007612/0.8317, allocations: 3.315 MB / 0.5711 GB, free: 93.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.8319, allocations: 103 kB / 0.5712 GB, free: 93.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005673/0.8325, allocations: 199.6 kB / 0.5714 GB, free: 93.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00521/0.8377, allocations: 3.122 MB / 0.5745 GB, free: 93.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005167/0.8429, allocations: 3.662 MB / 0.578 GB, free: 92.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.886e-05/0.843, allocations: 7.844 kB / 0.5781 GB, free: 92.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.8432, allocations: 3.781 kB / 0.5781 GB, free: 92.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.8433, allocations: 146.2 kB / 0.5782 GB, free: 92.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.8608, allocations: 13.29 MB / 0.5912 GB, free: 87.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004608/0.8654, allocations: 6.43 MB / 0.5974 GB, free: 82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.8675, allocations: 1.288 MB / 0.5987 GB, free: 81.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0057/0.8732, allocations: 3.491 MB / 0.6021 GB, free: 79.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.8733, allocations: 57.52 kB / 0.6022 GB, free: 79.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 3.507e-06/0.8733, allocations: 3.938 kB / 0.6022 GB, free: 79.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=135): time 0.007076/0.8804, allocations: 4.282 MB / 0.6064 GB, free: 77.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.8804, allocations: 69.22 kB / 0.6064 GB, free: 77.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.8821, allocations: 1.261 MB / 0.6077 GB, free: 76.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/0.8822, allocations: 25.7 kB / 0.6077 GB, free: 76.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/0.8827, allocations: 1.447 MB / 0.6091 GB, free: 75.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.883, allocations: 457.8 kB / 0.6095 GB, free: 75.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.883, allocations: 0 / 0.6095 GB, free: 75.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.8831, allocations: 373 kB / 0.6099 GB, free: 74.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.8838, allocations: 0.6073 MB / 0.6105 GB, free: 74.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008669/0.8847, allocations: 1.09 MB / 0.6115 GB, free: 73.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.8861, allocations: 0.9521 MB / 0.6125 GB, free: 73.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.8861, allocations: 6 kB / 0.6125 GB, free: 73.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003709/0.8898, allocations: 2.378 MB / 0.6148 GB, free: 72.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.8899, allocations: 11.28 kB / 0.6148 GB, free: 72.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.8899, allocations: 14.5 kB / 0.6148 GB, free: 72.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008279/0.8907, allocations: 351.5 kB / 0.6152 GB, free: 72.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.8919, allocations: 366.9 kB / 0.6155 GB, free: 72.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004933/0.8968, allocations: 7.387 MB / 0.6227 GB, free: 65.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.8982, allocations: 47.61 kB / 0.6228 GB, free: 65.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.8983, allocations: 73.25 kB / 0.6228 GB, free: 65.94 MB / 426.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 (188): * Single equations (assignments): 183 * 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%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.8986, allocations: 160.5 kB / 0.623 GB, free: 65.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.8988, allocations: 168.4 kB / 0.6232 GB, free: 65.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.9022, allocations: 2.213 MB / 0.6253 GB, free: 64.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.9022, allocations: 17.8 kB / 0.6253 GB, free: 64.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9022, allocations: 7.125 kB / 0.6253 GB, free: 64.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.9022, allocations: 7.312 kB / 0.6253 GB, free: 64.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006201/0.9084, allocations: 4.556 MB / 0.6298 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.9085, allocations: 3.25 kB / 0.6298 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/0.9092, allocations: 165.8 kB / 0.63 GB, free: 62.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.9103, allocations: 0.5116 MB / 0.6305 GB, free: 62.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.11e-05/0.9104, allocations: 30.08 kB / 0.6305 GB, free: 62.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008037/0.9185, allocations: 11.59 MB / 0.6418 GB, free: 52.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.9185, allocations: 7.969 kB / 0.6418 GB, free: 52.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.9228, allocations: 3.189 MB / 0.6449 GB, free: 50.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/0.9237, allocations: 416.6 kB / 0.6453 GB, free: 50.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.9239, allocations: 15.38 kB / 0.6453 GB, free: 50.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/0.9247, allocations: 46.06 kB / 0.6454 GB, free: 50.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.925, allocations: 104.4 kB / 0.6455 GB, free: 50.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.925, allocations: 35.89 kB / 0.6455 GB, free: 50.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.9263, allocations: 0.9401 MB / 0.6464 GB, free: 49.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9263, allocations: 4 kB / 0.6464 GB, free: 49.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002095/0.9284, allocations: 0.5313 MB / 0.647 GB, free: 48.69 MB / 426.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 (84): * Single equations (assignments): 78 * 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%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004957/0.9289, allocations: 342.5 kB / 0.6473 GB, free: 48.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002495/0.9314, allocations: 2.139 MB / 0.6494 GB, free: 46.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.9314, allocations: 0 / 0.6494 GB, free: 46.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.9331, allocations: 1.613 MB / 0.6509 GB, free: 44.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.935, allocations: 391.5 kB / 0.6513 GB, free: 44.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/0.9427, allocations: 4.622 MB / 0.6558 GB, free: 40.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.9444, allocations: 2.358 MB / 0.6581 GB, free: 38.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001456/0.9459, allocations: 373.4 kB / 0.6585 GB, free: 38.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.9462, allocations: 111.4 kB / 0.6586 GB, free: 38.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9462, allocations: 0 / 0.6586 GB, free: 38.14 MB / 426.7 MB Notification: Performance of Templates: time 0.03635/0.9826, allocations: 23.55 MB / 0.6816 GB, free: 18.88 MB / 426.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