Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 47.91 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1146, allocations: 53.32 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.1975/0.3121, allocations: 14.34 MB / 441.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008123/0.3202, allocations: 4.696 MB / 446.5 MB, free: 284 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.3227, allocations: 104.5 kB / 446.6 MB, free: 244 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003238/0.3259, allocations: 1.06 MB / 447.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.3309, allocations: 1.332 MB / 449 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.3338, allocations: 0.9344 MB / 450 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006288/0.3401, allocations: 4.14 MB / 454.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/0.3435, allocations: 2.248 MB / 456.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/0.3471, allocations: 1.947 MB / 458.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0045/0.3516, allocations: 2.248 MB / 460.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.3531, allocations: 0.5123 MB / 461.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.3558, allocations: 0.7387 MB / 461.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.3573, allocations: 1.114 MB / 462.9 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00407/0.3613, allocations: 2.144 MB / 465.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009882/0.3712, allocations: 6.767 MB / 471.8 MB, free: 1.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3712, allocations: 1.438 kB / 471.8 MB, free: 1.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3712, allocations: 0 / 471.8 MB, free: 1.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001984/0.3714, allocations: 0 / 471.8 MB, free: 1.711 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.01357/0.385, allocations: 4.528 MB / 476.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.385, allocations: 8.938 kB / 476.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/0.3899, allocations: 0.8275 MB / 477.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005217/0.3951, allocations: 2.465 MB / 479.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.3953, allocations: 238.8 kB / 479.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007198/0.396, allocations: 331.9 kB / 480.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008937/0.405, allocations: 4.27 MB / 484.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-05/0.405, allocations: 3.953 kB / 484.5 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/0.4054, allocations: 128 kB / 484.6 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/0.4056, allocations: 154.4 kB / 484.8 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007133/0.4127, allocations: 3.609 MB / 488.4 MB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02416/0.4368, allocations: 13.85 MB / 0.4905 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007312/0.4442, allocations: 6.529 MB / 0.4968 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/0.4468, allocations: 1.281 MB / 0.4981 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006986/0.4538, allocations: 3.905 MB / 0.5019 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.4538, allocations: 43.88 kB / 0.5019 GB, free: 8.562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.426e-06/0.4538, allocations: 0 / 0.5019 GB, free: 8.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01272/0.4665, allocations: 5.923 MB / 0.5077 GB, free: 2.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4666, allocations: 68.7 kB / 0.5078 GB, free: 2.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/0.4695, allocations: 1.802 MB / 0.5095 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.4697, allocations: 53.7 kB / 0.5096 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.4709, allocations: 1.486 MB / 0.511 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.4713, allocations: 0.4919 MB / 0.5115 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005219/0.4719, allocations: 319.4 kB / 0.5118 GB, free: 14.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.472, allocations: 301.1 kB / 0.5121 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.4732, allocations: 0.6832 MB / 0.5128 GB, free: 13.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.4748, allocations: 1.201 MB / 0.514 GB, free: 11.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/0.4777, allocations: 2.007 MB / 0.5159 GB, free: 9.547 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.4777, allocations: 4 kB / 0.5159 GB, free: 9.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00468/0.4824, allocations: 2.54 MB / 0.5184 GB, free: 6.961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.4824, allocations: 15.98 kB / 0.5184 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/0.4825, allocations: 16.34 kB / 0.5184 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.4835, allocations: 364.1 kB / 0.5188 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.4849, allocations: 375.4 kB / 0.5191 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008845/0.4938, allocations: 8.404 MB / 0.5273 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.4955, allocations: 80 kB / 0.5274 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.4957, allocations: 79.98 kB / 0.5275 GB, free: 13.08 MB / 446.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.001882/0.4976, allocations: 1.001 MB / 0.5285 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.498, allocations: 210.6 kB / 0.5287 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.5023, allocations: 2.278 MB / 0.5309 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.5023, allocations: 12 kB / 0.5309 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.5023, allocations: 8 kB / 0.5309 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.5024, allocations: 7.969 kB / 0.5309 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008725/0.5111, allocations: 5.079 MB / 0.5359 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.5111, allocations: 0 / 0.5359 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/0.5119, allocations: 176 kB / 0.5361 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.5134, allocations: 0.5323 MB / 0.5366 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.5135, allocations: 51.92 kB / 0.5366 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/0.5271, allocations: 13.23 MB / 0.5496 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5271, allocations: 3.938 kB / 0.5496 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005675/0.5328, allocations: 3.215 MB / 0.5527 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/0.5342, allocations: 435.7 kB / 0.5531 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.5345, allocations: 40.06 kB / 0.5531 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009148/0.5354, allocations: 63.95 kB / 0.5532 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.5357, allocations: 113.1 kB / 0.5533 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.951e-05/0.5358, allocations: 43.97 kB / 0.5534 GB, free: 1.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001981/0.5378, allocations: 1.239 MB / 0.5546 GB, free: 192 kB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5378, allocations: 0 / 0.5546 GB, free: 192 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.00257/0.5404, allocations: 0.582 MB / 0.5551 GB, free: 15.6 MB / 478.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.0004348/0.5408, allocations: 165.7 kB / 0.5553 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00402/0.5448, allocations: 2.291 MB / 0.5575 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5448, allocations: 0 / 0.5575 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.5476, allocations: 1.683 MB / 0.5592 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/0.5505, allocations: 0.5489 MB / 0.5597 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.5617, allocations: 5.89 MB / 0.5655 GB, free: 4.828 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/0.5641, allocations: 2.261 MB / 0.5677 GB, free: 2.543 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006364/0.5647, allocations: 143.4 kB / 0.5678 GB, free: 2.406 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5647, allocations: 4 kB / 0.5678 GB, free: 2.402 MB / 478.1 MB Notification: Performance of Templates: time 0.3258/0.8905, allocations: 130.1 MB / 0.6949 GB, free: 108.9 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.312992469000164]