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.001809/0.001809, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.67 kB / 307 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1084, allocations: 50.55 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.1958/0.3042, allocations: 14.24 MB / 371.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008315/0.3126, allocations: 4.684 MB / 376.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.3149, allocations: 85.16 kB / 376.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.3182, allocations: 1.021 MB / 377.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.3232, allocations: 1.289 MB / 378.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.3259, allocations: 0.9415 MB / 379.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005716/0.3316, allocations: 4.114 MB / 383.9 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004649/0.3363, allocations: 3.235 MB / 387.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.3397, allocations: 1.892 MB / 389.1 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004216/0.3439, allocations: 2.209 MB / 391.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.3455, allocations: 0.5164 MB / 391.8 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/0.3488, allocations: 0.745 MB / 392.5 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.3501, allocations: 1.113 MB / 393.6 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002961/0.3531, allocations: 2.146 MB / 395.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008033/0.3611, allocations: 6.707 MB / 402.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3612, allocations: 0 / 402.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3612, allocations: 3.938 kB / 402.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001793/0.3614, allocations: 0 / 402.5 MB, free: 12.52 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.01259/0.374, allocations: 4.432 MB / 406.9 MB, free: 8.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.374, allocations: 12.03 kB / 406.9 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.3784, allocations: 0.8033 MB / 407.7 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.3829, allocations: 2.392 MB / 410.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.3831, allocations: 246.5 kB / 410.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000523/0.3837, allocations: 327.8 kB / 410.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007738/0.3914, allocations: 4.265 MB / 415 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-05/0.3915, allocations: 11.98 kB / 415 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/0.3918, allocations: 132 kB / 415.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.392, allocations: 146.4 kB / 415.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006469/0.3985, allocations: 3.605 MB / 418.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02247/0.421, allocations: 13.98 MB / 432.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007983/0.429, allocations: 6.68 MB / 439.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002746/0.4318, allocations: 1.4 MB / 440.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006897/0.4387, allocations: 3.902 MB / 444.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.4388, allocations: 51.88 kB / 444.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 3.306e-06/0.4388, allocations: 0 / 444.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01203/0.4508, allocations: 5.891 MB / 450.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.4509, allocations: 68.72 kB / 450.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.4535, allocations: 1.802 MB / 452.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-05/0.4536, allocations: 49.7 kB / 452.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.4547, allocations: 1.451 MB / 454.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.4552, allocations: 484.5 kB / 454.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004987/0.4557, allocations: 315.2 kB / 454.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4558, allocations: 309.1 kB / 455.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.457, allocations: 0.6832 MB / 455.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.4585, allocations: 1.193 MB / 457.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.4614, allocations: 2.01 MB / 459.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.4614, allocations: 8 kB / 459.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004245/0.4657, allocations: 2.543 MB / 461.6 MB, free: 108 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4657, allocations: 12 kB / 461.7 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.4657, allocations: 19.98 kB / 461.7 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009702/0.4667, allocations: 372.9 kB / 462 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.4681, allocations: 375.4 kB / 462.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008451/0.4766, allocations: 8.394 MB / 470.8 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.478, allocations: 83.91 kB / 470.9 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.4782, allocations: 75.98 kB / 471 MB, free: 6.242 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.001684/0.4799, allocations: 1.001 MB / 472 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.4802, allocations: 201.6 kB / 472.2 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004158/0.4844, allocations: 2.292 MB / 474.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.4844, allocations: 12 kB / 474.5 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.4844, allocations: 8 kB / 474.5 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.4845, allocations: 15.97 kB / 474.5 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008415/0.4929, allocations: 5.092 MB / 479.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.4929, allocations: 3.984 kB / 479.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000826/0.4938, allocations: 171.8 kB / 479.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/0.4953, allocations: 0.5422 MB / 480.3 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.4954, allocations: 39.98 kB / 480.3 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.5096, allocations: 13.25 MB / 493.6 MB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5096, allocations: 4.031 kB / 493.6 MB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005406/0.515, allocations: 3.228 MB / 496.8 MB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008581/0.5159, allocations: 422.6 kB / 497.2 MB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.5162, allocations: 43.92 kB / 497.3 MB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/0.5171, allocations: 60.52 kB / 497.3 MB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.5174, allocations: 108.4 kB / 497.4 MB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-05/0.5174, allocations: 39.98 kB / 497.5 MB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001853/0.5193, allocations: 1.236 MB / 498.7 MB, free: 9.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5193, allocations: 0 / 498.7 MB, free: 9.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002077/0.5214, allocations: 0.5861 MB / 499.3 MB, free: 8.789 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.0003395/0.5217, allocations: 179.1 kB / 499.5 MB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005023/0.5268, allocations: 2.69 MB / 0.4904 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.5268, allocations: 4.188 kB / 0.4904 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/0.5294, allocations: 1.736 MB / 0.4921 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.5318, allocations: 0.5502 MB / 0.4926 GB, free: 3.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.5418, allocations: 5.878 MB / 0.4984 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.5441, allocations: 2.311 MB / 0.5006 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001504/0.5456, allocations: 405.2 kB / 0.501 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.546, allocations: 131.4 kB / 0.5011 GB, free: 10.7 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.546, allocations: 4 kB / 0.5011 GB, free: 10.7 MB / 430.1 MB Notification: Performance of Templates: time 0.1982/0.7442, allocations: 29.93 MB / 0.5304 GB, free: 140.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/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