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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 111.4 kB / 17.74 MB, free: 5.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 188.5 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 47.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2561, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01459/0.2708, allocations: 13.65 MB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.2799, allocations: 4.4 MB / 419.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.2833, allocations: 79.75 kB / 419.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.2868, allocations: 1.006 MB / 420.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004758/0.2916, allocations: 1.312 MB / 421.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.2942, allocations: 0.8882 MB / 422.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005661/0.2999, allocations: 4.079 MB / 426.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004689/0.3046, allocations: 3.217 MB / 430.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/0.3075, allocations: 1.908 MB / 432 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003429/0.3109, allocations: 2.086 MB / 434 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.3123, allocations: 0.5117 MB / 434.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.3143, allocations: 0.7146 MB / 435.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.3159, allocations: 1.118 MB / 436.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00333/0.3192, allocations: 2.132 MB / 438.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007304/0.3266, allocations: 6.708 MB / 445.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3266, allocations: 0 / 445.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3266, allocations: 0 / 445.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001555/0.3268, allocations: 0 / 445.2 MB, free: 12.82 MB / 366.1 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.01171/0.3385, allocations: 4.406 MB / 449.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3386, allocations: 8.031 kB / 449.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004219/0.3428, allocations: 0.8241 MB / 450.5 MB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.3472, allocations: 2.423 MB / 452.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.3474, allocations: 242.8 kB / 453.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000533/0.348, allocations: 328 kB / 453.5 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007226/0.3552, allocations: 4.267 MB / 457.7 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.637e-05/0.3553, allocations: 7.906 kB / 457.7 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/0.3556, allocations: 128 kB / 457.8 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.3558, allocations: 146.4 kB / 458 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006103/0.3619, allocations: 3.609 MB / 461.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02048/0.3824, allocations: 13.69 MB / 475.3 MB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006369/0.3888, allocations: 6.584 MB / 481.9 MB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00243/0.3913, allocations: 1.39 MB / 483.3 MB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005819/0.3971, allocations: 3.628 MB / 486.9 MB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.3972, allocations: 51.81 kB / 486.9 MB, free: 1.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 3.297e-06/0.3972, allocations: 0 / 486.9 MB, free: 1.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01143/0.4086, allocations: 5.871 MB / 492.8 MB, free: 11.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4087, allocations: 64.72 kB / 492.9 MB, free: 11.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.4112, allocations: 1.78 MB / 494.7 MB, free: 9.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.4114, allocations: 53.7 kB / 494.7 MB, free: 9.598 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009582/0.4123, allocations: 1.438 MB / 496.1 MB, free: 8.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.4127, allocations: 477.1 kB / 496.6 MB, free: 7.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.4132, allocations: 327.2 kB / 496.9 MB, free: 7.344 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.384e-05/0.4133, allocations: 301.1 kB / 497.2 MB, free: 7.047 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.4144, allocations: 0.6793 MB / 497.9 MB, free: 6.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.4158, allocations: 1.197 MB / 499.1 MB, free: 4.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.4184, allocations: 2.003 MB / 0.4894 GB, free: 2.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.4184, allocations: 4 kB / 0.4894 GB, free: 2.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004111/0.4225, allocations: 2.543 MB / 0.4918 GB, free: 136 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.4226, allocations: 12 kB / 0.4919 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.4226, allocations: 16 kB / 0.4919 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009632/0.4236, allocations: 360.4 kB / 0.4922 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.425, allocations: 379.4 kB / 0.4926 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/0.4326, allocations: 8.407 MB / 0.5008 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.4343, allocations: 75.89 kB / 0.5009 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.4345, allocations: 72 kB / 0.5009 GB, free: 6.258 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001672/0.4361, allocations: 1.009 MB / 0.5019 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.4365, allocations: 193.6 kB / 0.5021 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.4404, allocations: 2.293 MB / 0.5043 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.4404, allocations: 12 kB / 0.5044 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.4404, allocations: 8 kB / 0.5044 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.4405, allocations: 11.98 kB / 0.5044 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007753/0.4482, allocations: 5.075 MB / 0.5093 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.4483, allocations: 4 kB / 0.5093 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/0.4491, allocations: 175.7 kB / 0.5095 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.4505, allocations: 0.5281 MB / 0.51 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.4506, allocations: 39.98 kB / 0.5101 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.463, allocations: 13.23 MB / 0.523 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.463, allocations: 7.969 kB / 0.523 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005124/0.4682, allocations: 3.21 MB / 0.5261 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009166/0.4691, allocations: 422.6 kB / 0.5265 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.4694, allocations: 43.92 kB / 0.5266 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/0.4703, allocations: 59.95 kB / 0.5266 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.4706, allocations: 113.1 kB / 0.5267 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/0.4707, allocations: 39.98 kB / 0.5268 GB, free: 10.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00178/0.4725, allocations: 1.219 MB / 0.5279 GB, free: 9.426 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4725, allocations: 0 / 0.5279 GB, free: 9.426 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002165/0.4747, allocations: 0.5742 MB / 0.5285 GB, free: 8.852 MB / 462.1 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.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,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 (idealCloser.control,idealOpener.control) * 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003378/0.475, allocations: 177.3 kB / 0.5287 GB, free: 8.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.4787, allocations: 2.365 MB / 0.531 GB, free: 6.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4787, allocations: 0 / 0.531 GB, free: 6.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.4813, allocations: 1.742 MB / 0.5327 GB, free: 4.414 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.4838, allocations: 0.5442 MB / 0.5332 GB, free: 3.875 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1891/0.673, allocations: 5.78 MB / 0.5389 GB, free: 128 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/0.675, allocations: 2.259 MB / 0.5411 GB, free: 127.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/0.6756, allocations: 140 kB / 0.5412 GB, free: 127.3 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6756, allocations: 0 / 0.5412 GB, free: 127.3 MB / 462.1 MB Notification: Performance of Templates: time 0.08817/0.7638, allocations: 128.7 MB / 0.6669 GB, free: 7.559 MB / 462.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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