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.001083/0.001083, allocations: 176.8 kB / 17.4 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.2 MB / 241.4 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007901/0.0007901, allocations: 96.83 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002724, allocations: 8 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1968, allocations: 50.4 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.3148, allocations: 111.1 MB / 0.5018 GB, free: 1.176 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.3151, allocations: 110.5 kB / 0.5019 GB, free: 1.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3113/0.6264, allocations: 80.6 MB / 0.5806 GB, free: 34.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6265, allocations: 0 / 0.5806 GB, free: 34.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002686/0.6268, allocations: 75.94 kB / 0.5807 GB, free: 33.98 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.009184/0.636, allocations: 3.486 MB / 0.5841 GB, free: 30.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.636, allocations: 8.031 kB / 0.5841 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/0.64, allocations: 0.75 MB / 0.5848 GB, free: 29.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005704/0.6457, allocations: 2.689 MB / 0.5875 GB, free: 26.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.6459, allocations: 246.8 kB / 0.5877 GB, free: 26.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008814/0.6468, allocations: 320.3 kB / 0.588 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009512/0.6563, allocations: 4.216 MB / 0.5921 GB, free: 22.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.6565, allocations: 3.938 kB / 0.5921 GB, free: 22.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005776/0.6571, allocations: 140 kB / 0.5923 GB, free: 21.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.6572, allocations: 142.4 kB / 0.5924 GB, free: 21.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006219/0.6634, allocations: 3.402 MB / 0.5957 GB, free: 18.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02008/0.6835, allocations: 13.94 MB / 0.6093 GB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005507/0.6891, allocations: 6.552 MB / 0.6157 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/0.6915, allocations: 1.39 MB / 0.6171 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00669/0.6983, allocations: 3.647 MB / 0.6207 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.6983, allocations: 47.88 kB / 0.6207 GB, free: 7.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=134): time 3.536e-06/0.6984, allocations: 0 / 0.6207 GB, free: 7.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.01212/0.7105, allocations: 5.875 MB / 0.6264 GB, free: 1.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.7106, allocations: 64.72 kB / 0.6265 GB, free: 1.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/0.7138, allocations: 1.761 MB / 0.6282 GB, free: 15.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.714, allocations: 53.64 kB / 0.6283 GB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.715, allocations: 1.431 MB / 0.6297 GB, free: 14.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.7155, allocations: 485 kB / 0.6301 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.7156, allocations: 40 kB / 0.6302 GB, free: 13.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7158, allocations: 369.9 kB / 0.6305 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.717, allocations: 0.6715 MB / 0.6312 GB, free: 12.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.7186, allocations: 1.176 MB / 0.6323 GB, free: 11.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.7214, allocations: 1.97 MB / 0.6342 GB, free: 8.883 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.7214, allocations: 4 kB / 0.6342 GB, free: 8.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004332/0.7257, allocations: 2.523 MB / 0.6367 GB, free: 6.312 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.7258, allocations: 12 kB / 0.6367 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.7258, allocations: 16 kB / 0.6367 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009669/0.7268, allocations: 356.3 kB / 0.6371 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.7282, allocations: 375.4 kB / 0.6374 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007259/0.7354, allocations: 7.717 MB / 0.645 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.737, allocations: 79.88 kB / 0.645 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.7373, allocations: 75.98 kB / 0.6451 GB, free: 13.15 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 185 * 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.00206/0.7394, allocations: 1.001 MB / 0.6461 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.7398, allocations: 189.7 kB / 0.6463 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.744, allocations: 2.278 MB / 0.6485 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.7441, allocations: 16 kB / 0.6485 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/0.7441, allocations: 12 kB / 0.6485 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.7441, allocations: 11.95 kB / 0.6485 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009073/0.7532, allocations: 5.059 MB / 0.6535 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7532, allocations: 0 / 0.6535 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/0.754, allocations: 171.8 kB / 0.6536 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.7554, allocations: 0.5323 MB / 0.6542 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.7555, allocations: 39.98 kB / 0.6542 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.189/0.9445, allocations: 12.08 MB / 0.666 GB, free: 80.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.9445, allocations: 3.75 kB / 0.666 GB, free: 80.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.9489, allocations: 3.202 MB / 0.6691 GB, free: 79.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.95, allocations: 432.7 kB / 0.6695 GB, free: 79.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.9503, allocations: 33.5 kB / 0.6696 GB, free: 79.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.9511, allocations: 72.91 kB / 0.6696 GB, free: 79.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/0.9514, allocations: 107.3 kB / 0.6698 GB, free: 79.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.9515, allocations: 35.84 kB / 0.6698 GB, free: 79.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001681/0.9532, allocations: 1.196 MB / 0.671 GB, free: 79.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9532, allocations: 0 / 0.671 GB, free: 79.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002223/0.9554, allocations: 0.6115 MB / 0.6716 GB, free: 79.46 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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%) 8,(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.0005241/0.9559, allocations: 378.5 kB / 0.6719 GB, free: 79.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002931/0.9589, allocations: 2.344 MB / 0.6742 GB, free: 78.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.9589, allocations: 0 / 0.6742 GB, free: 78.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.9609, allocations: 1.741 MB / 0.6759 GB, free: 78.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.9636, allocations: 0.5193 MB / 0.6764 GB, free: 78.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009403/0.973, allocations: 7.032 MB / 0.6833 GB, free: 75.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.9748, allocations: 2.312 MB / 0.6855 GB, free: 74.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001513/0.9763, allocations: 392.4 kB / 0.6859 GB, free: 74.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.9766, allocations: 128.2 kB / 0.686 GB, free: 74.22 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/0.9766, allocations: 3.562 kB / 0.686 GB, free: 74.22 MB / 426.7 MB Notification: Performance of Templates: time 0.04428/1.021, allocations: 30.6 MB / 0.7159 GB, free: 72.73 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/jenkins1/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