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.0009303/0.0009303, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009438/0.0009438, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9786/0.9786, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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 2.094e-06/2.094e-06, allocations: 3.938 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.152e-05, allocations: 5.266 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01371/0.01374, allocations: 13.65 MB / 287.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007177/0.02092, allocations: 4.581 MB / 292.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.02227, allocations: 103.4 kB / 292.6 MB, free: 2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.02411, allocations: 1.021 MB / 293.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.02631, allocations: 1.366 MB / 294.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.02751, allocations: 0.9293 MB / 295.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002985/0.03049, allocations: 4.345 MB / 300.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.03217, allocations: 1.75 MB / 302 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.0347, allocations: 2.971 MB / 304.9 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.03643, allocations: 1.917 MB / 306.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004739/0.0369, allocations: 0.5 MB / 307.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008373/0.03774, allocations: 0.7144 MB / 308.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006652/0.03841, allocations: 1.149 MB / 309.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.03953, allocations: 1.45 MB / 310.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.04229, allocations: 3.458 MB / 314.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.04229, allocations: 8 kB / 314.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.04229, allocations: 0 / 314.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.5e-05/0.04234, allocations: 0 / 314.1 MB, free: 12.29 MB / 298.7 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.005341/0.04768, allocations: 4.534 MB / 318.7 MB, free: 7.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.04771, allocations: 8.031 kB / 318.7 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.05017, allocations: 1.165 MB / 319.8 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.05246, allocations: 2.231 MB / 322.1 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.0526, allocations: 246.8 kB / 322.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.05291, allocations: 328.3 kB / 322.6 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.05548, allocations: 2.392 MB / 325 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.475e-05/0.05553, allocations: 4 kB / 325 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.05573, allocations: 135.9 kB / 325.2 MB, free: 1.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.05583, allocations: 146.4 kB / 325.3 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.05725, allocations: 0.9455 MB / 326.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.06776, allocations: 11.03 MB / 337.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.07014, allocations: 1.846 MB / 339.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008315/0.07097, allocations: 0.6899 MB / 339.8 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002664/0.07364, allocations: 2.277 MB / 342.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.07367, allocations: 50.7 kB / 342.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 2.745e-06/0.07367, allocations: 4 kB / 342.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.004518/0.07819, allocations: 2.95 MB / 345.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.07822, allocations: 64.72 kB / 345.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.07932, allocations: 1.389 MB / 346.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.07938, allocations: 49.7 kB / 346.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000758/0.08014, allocations: 1.601 MB / 348.2 MB, free: 9.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.08041, allocations: 0.5114 MB / 348.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/0.08075, allocations: 341 kB / 349 MB, free: 8.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.08085, allocations: 484.7 kB / 349.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.08112, allocations: 191.8 kB / 349.7 MB, free: 8.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.08173, allocations: 0.9632 MB / 350.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.08273, allocations: 1.268 MB / 351.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.08274, allocations: 11.94 kB / 351.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001591/0.08433, allocations: 1.471 MB / 353.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.08435, allocations: 12 kB / 353.4 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.08436, allocations: 16 kB / 353.4 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/0.08492, allocations: 306.1 kB / 353.7 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.08567, allocations: 363.4 kB / 354.1 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1457/0.2313, allocations: 8.722 MB / 362.8 MB, free: 58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.2326, allocations: 60.91 kB / 362.9 MB, free: 58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.2327, allocations: 63.66 kB / 362.9 MB, free: 58 MB / 330.7 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.0008901/0.2336, allocations: 263.9 kB / 363.2 MB, free: 57.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.234, allocations: 229.3 kB / 363.4 MB, free: 57.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.2361, allocations: 1.229 MB / 364.6 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.2361, allocations: 14.83 kB / 364.7 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/0.2362, allocations: 7.094 kB / 364.7 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.2362, allocations: 10.14 kB / 364.7 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004843/0.241, allocations: 2.88 MB / 367.6 MB, free: 57.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.241, allocations: 2.25 kB / 367.6 MB, free: 57.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.2415, allocations: 169.9 kB / 367.7 MB, free: 57.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.2425, allocations: 452.2 kB / 368.2 MB, free: 57.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-05/0.2426, allocations: 37.58 kB / 368.2 MB, free: 57.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/0.2487, allocations: 13.53 MB / 381.7 MB, free: 45.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2487, allocations: 5.25 kB / 381.7 MB, free: 45.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.2512, allocations: 1.655 MB / 383.4 MB, free: 45.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.2518, allocations: 304.1 kB / 383.7 MB, free: 45.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.252, allocations: 31.72 kB / 383.7 MB, free: 45.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.2524, allocations: 53.73 kB / 383.8 MB, free: 45.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/0.2527, allocations: 115.5 kB / 383.9 MB, free: 45.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.2527, allocations: 33.73 kB / 383.9 MB, free: 45.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008474/0.2536, allocations: 0.735 MB / 384.7 MB, free: 45.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2536, allocations: 0 / 384.7 MB, free: 45.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002096/0.2557, allocations: 0.5733 MB / 385.2 MB, free: 45.14 MB / 330.7 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.0003373/0.256, allocations: 176 kB / 385.4 MB, free: 45.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.2579, allocations: 1.669 MB / 387.1 MB, free: 44.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.2579, allocations: 0 / 387.1 MB, free: 44.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.2591, allocations: 1.702 MB / 388.8 MB, free: 43.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.2605, allocations: 478.7 kB / 389.2 MB, free: 43.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.2678, allocations: 5.015 MB / 394.3 MB, free: 40.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007229/0.2685, allocations: 0.7895 MB / 395 MB, free: 40.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008818/0.2694, allocations: 237.7 kB / 395.3 MB, free: 40.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007488/0.2701, allocations: 0.5028 MB / 395.8 MB, free: 40.6 MB / 330.7 MB Notification: Performance of SimCode: time 3.246e-06/0.2701, allocations: 4 kB / 395.8 MB, free: 40.59 MB / 330.7 MB Notification: Performance of Templates: time 0.04124/0.3114, allocations: 30.1 MB / 425.9 MB, free: 13.11 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.983108771033585]