Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002385, allocations: 4 kB / 308.4 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09799, allocations: 51.53 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.1891/0.2871, allocations: 13.41 MB / 373.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009913/0.2971, allocations: 4.547 MB / 377.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/0.2999, allocations: 78.69 kB / 378 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003504/0.3034, allocations: 0.8907 MB / 378.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004816/0.3083, allocations: 1.158 MB / 380 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.3109, allocations: 0.8605 MB / 380.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006268/0.3172, allocations: 4.409 MB / 385.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004221/0.3215, allocations: 2.658 MB / 387.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.3242, allocations: 1.336 MB / 389.3 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003346/0.3275, allocations: 1.685 MB / 391 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.3285, allocations: 212.8 kB / 391.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.3309, allocations: 447.2 kB / 391.6 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.3322, allocations: 0.7669 MB / 392.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003359/0.3356, allocations: 1.775 MB / 394.2 MB, free: 3.016 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004945/0.3405, allocations: 5.52 MB / 399.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3405, allocations: 0 / 399.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3406, allocations: 3.938 kB / 399.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001455/0.3407, allocations: 1.5 kB / 399.7 MB, free: 15.27 MB / 318.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.009738/0.3504, allocations: 3.727 MB / 403.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3505, allocations: 9.531 kB / 403.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/0.3551, allocations: 0.8415 MB / 404.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00417/0.3593, allocations: 2.337 MB / 406.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.3595, allocations: 245.7 kB / 406.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005352/0.36, allocations: 327.8 kB / 407.2 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007314/0.3673, allocations: 4.268 MB / 411.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.3674, allocations: 3.906 kB / 411.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/0.3678, allocations: 135.2 kB / 411.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.3679, allocations: 150.4 kB / 411.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006077/0.374, allocations: 3.613 MB / 415.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02056/0.3946, allocations: 14.03 MB / 429.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006446/0.401, allocations: 6.669 MB / 436 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.4033, allocations: 1.401 MB / 437.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006117/0.4095, allocations: 3.911 MB / 441.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.4095, allocations: 51.88 kB / 441.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 2.755e-06/0.4095, allocations: 0 / 441.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01174/0.4213, allocations: 5.924 MB / 447.3 MB, free: 224 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.4214, allocations: 68.72 kB / 447.4 MB, free: 140 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.4244, allocations: 1.801 MB / 449.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.4245, allocations: 49.7 kB / 449.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.4257, allocations: 1.448 MB / 450.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.4261, allocations: 484.8 kB / 451.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.4263, allocations: 141.6 kB / 451.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4264, allocations: 313.1 kB / 451.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.4276, allocations: 0.6793 MB / 452.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.4291, allocations: 1.197 MB / 453.5 MB, free: 9.801 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/0.4318, allocations: 2.01 MB / 455.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/0.4318, allocations: 8 kB / 455.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004242/0.4361, allocations: 2.551 MB / 458 MB, free: 4.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4361, allocations: 16.06 kB / 458 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/0.4362, allocations: 16 kB / 458.1 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/0.4371, allocations: 356 kB / 458.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4385, allocations: 375.4 kB / 458.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007202/0.4457, allocations: 7.705 MB / 466.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.4473, allocations: 79.86 kB / 466.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.4475, allocations: 76.09 kB / 466.6 MB, free: 11.83 MB / 382.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.001984/0.4495, allocations: 1.012 MB / 467.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/0.4499, allocations: 197.6 kB / 467.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.4541, allocations: 2.303 MB / 470.1 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.4541, allocations: 16 kB / 470.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.4541, allocations: 8 kB / 470.2 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.4542, allocations: 7.969 kB / 470.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008397/0.4626, allocations: 5.089 MB / 475.3 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.4626, allocations: 0 / 475.3 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/0.4634, allocations: 179.8 kB / 475.4 MB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.4648, allocations: 0.5356 MB / 476 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.4649, allocations: 39.92 kB / 476 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.4766, allocations: 12.1 MB / 488.1 MB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4766, allocations: 4.094 kB / 488.1 MB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.4819, allocations: 3.236 MB / 491.4 MB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.483, allocations: 431.2 kB / 491.8 MB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005312/0.4836, allocations: 31.98 kB / 491.8 MB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.4848, allocations: 71.95 kB / 491.9 MB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.4851, allocations: 117.1 kB / 492 MB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.609e-05/0.4852, allocations: 39.98 kB / 492 MB, free: 1.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002369/0.4876, allocations: 1.232 MB / 493.3 MB, free: 96 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4876, allocations: 3.938 kB / 493.3 MB, free: 92 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002668/0.4903, allocations: 0.5906 MB / 493.9 MB, free: 15.5 MB / 414.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.0004014/0.4907, allocations: 170.5 kB / 494 MB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003785/0.4945, allocations: 2.359 MB / 496.4 MB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4945, allocations: 0 / 496.4 MB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.497, allocations: 1.726 MB / 498.1 MB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/0.5003, allocations: 0.5228 MB / 498.6 MB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.513, allocations: 7.379 MB / 0.4942 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/0.5158, allocations: 2.269 MB / 0.4964 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005729/0.5164, allocations: 135.4 kB / 0.4965 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5164, allocations: 0 / 0.4965 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of Templates: time 0.2987/0.8151, allocations: 128.8 MB / 0.6223 GB, free: 64.86 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches