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.0011/0.0011, allocations: 112 kB / 17.06 MB, free: 5.992 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.00116/0.00116, allocations: 192 kB / 18 MB, free: 5.082 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000995/0.0009951, allocations: 43.94 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2517, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.0153/0.2671, allocations: 13.64 MB / 414.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008343/0.2754, allocations: 4.407 MB / 418.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.2775, allocations: 75.75 kB / 418.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.2804, allocations: 1.041 MB / 419.9 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.2847, allocations: 1.362 MB / 421.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.2871, allocations: 0.8894 MB / 422.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005219/0.2923, allocations: 4.084 MB / 426.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004747/0.2971, allocations: 3.217 MB / 429.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.3001, allocations: 1.908 MB / 431.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003363/0.3035, allocations: 2.09 MB / 433.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.3047, allocations: 0.5078 MB / 434 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.3069, allocations: 0.7146 MB / 434.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.3085, allocations: 1.114 MB / 435.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003639/0.3121, allocations: 2.132 MB / 437.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007593/0.3197, allocations: 6.715 MB / 444.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3198, allocations: 0 / 444.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3198, allocations: 0 / 444.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001179/0.3199, allocations: 0 / 444.6 MB, free: 12.75 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.01316/0.3331, allocations: 4.402 MB / 449 MB, free: 8.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3331, allocations: 12.03 kB / 449.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005081/0.3382, allocations: 0.8163 MB / 449.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/0.3436, allocations: 2.431 MB / 452.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.3439, allocations: 246.8 kB / 452.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000981/0.3448, allocations: 324 kB / 452.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009351/0.3542, allocations: 4.267 MB / 457.1 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.3544, allocations: 3.906 kB / 457.1 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005645/0.3549, allocations: 132.1 kB / 457.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.3551, allocations: 150.4 kB / 457.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00717/0.3623, allocations: 3.605 MB / 461 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02379/0.3861, allocations: 13.69 MB / 474.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006719/0.3928, allocations: 6.575 MB / 481.3 MB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002316/0.3952, allocations: 1.398 MB / 482.7 MB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006534/0.4017, allocations: 3.624 MB / 486.3 MB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.397e-05/0.4019, allocations: 47.88 kB / 486.3 MB, free: 1.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 3.958e-06/0.4019, allocations: 0 / 486.3 MB, free: 1.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01242/0.4143, allocations: 5.875 MB / 492.2 MB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.4144, allocations: 64.72 kB / 492.3 MB, free: 11.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/0.4173, allocations: 1.78 MB / 494.1 MB, free: 9.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.4175, allocations: 49.7 kB / 494.1 MB, free: 9.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.4185, allocations: 1.434 MB / 495.5 MB, free: 8.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.419, allocations: 481.1 kB / 496 MB, free: 7.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005455/0.4195, allocations: 319.2 kB / 496.3 MB, free: 7.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4196, allocations: 305.1 kB / 496.6 MB, free: 6.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.4208, allocations: 0.6793 MB / 497.3 MB, free: 6.305 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.4222, allocations: 1.201 MB / 498.5 MB, free: 4.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.4248, allocations: 2.003 MB / 0.4888 GB, free: 2.656 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.4248, allocations: 8 kB / 0.4888 GB, free: 2.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004123/0.429, allocations: 2.535 MB / 0.4913 GB, free: 72 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.429, allocations: 12 kB / 0.4913 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.429, allocations: 16 kB / 0.4913 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.43, allocations: 370.1 kB / 0.4916 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.4315, allocations: 383.3 kB / 0.492 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008128/0.4396, allocations: 8.402 MB / 0.5002 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.4412, allocations: 71.97 kB / 0.5003 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.4414, allocations: 79.98 kB / 0.5004 GB, free: 6.184 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.002125/0.4435, allocations: 0.9971 MB / 0.5013 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006173/0.4442, allocations: 197.6 kB / 0.5015 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/0.4485, allocations: 2.29 MB / 0.5038 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4485, allocations: 15.98 kB / 0.5038 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/0.4485, allocations: 11.98 kB / 0.5038 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.4485, allocations: 4.172 kB / 0.5038 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008705/0.4572, allocations: 5.075 MB / 0.5087 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4573, allocations: 3.938 kB / 0.5087 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000852/0.4581, allocations: 183.7 kB / 0.5089 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.4596, allocations: 0.5358 MB / 0.5094 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.4597, allocations: 35.98 kB / 0.5095 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.4723, allocations: 13.22 MB / 0.5224 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4723, allocations: 3.938 kB / 0.5224 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/0.4777, allocations: 3.218 MB / 0.5255 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.4788, allocations: 422.6 kB / 0.5259 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000596/0.4795, allocations: 35.92 kB / 0.526 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.4809, allocations: 63.95 kB / 0.526 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/0.4813, allocations: 117.1 kB / 0.5261 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.4814, allocations: 36 kB / 0.5262 GB, free: 10.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003047/0.4845, allocations: 1.215 MB / 0.5274 GB, free: 9.355 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4845, allocations: 0 / 0.5274 GB, free: 9.355 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002996/0.4875, allocations: 0.582 MB / 0.5279 GB, free: 8.773 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.0004935/0.488, allocations: 163.2 kB / 0.5281 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.4918, allocations: 2.362 MB / 0.5304 GB, free: 6.168 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.4919, allocations: 8.188 kB / 0.5304 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002633/0.4945, allocations: 1.737 MB / 0.5321 GB, free: 4.348 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/0.4973, allocations: 0.5539 MB / 0.5326 GB, free: 3.805 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2075/0.7048, allocations: 5.794 MB / 0.5383 GB, free: 127.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003858/0.7088, allocations: 2.315 MB / 0.5406 GB, free: 127.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001806/0.7106, allocations: 395.4 kB / 0.5409 GB, free: 127 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.711, allocations: 128.3 kB / 0.5411 GB, free: 127 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.711, allocations: 3.375 kB / 0.5411 GB, free: 127 MB / 462.1 MB Notification: Performance of Templates: time 0.04373/0.7548, allocations: 30.23 MB / 0.5706 GB, free: 105.2 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/jenkins/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/jenkins/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