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.001896/0.001896, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002006/0.002006, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.645/1.645, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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 1.312e-06/1.312e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.648e-05, allocations: 6.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.0204/0.02042, allocations: 14.04 MB / 286.4 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1204/0.1409, allocations: 4.591 MB / 291 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.1431, allocations: 102.1 kB / 291.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.1457, allocations: 1.016 MB / 292.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003661/0.1494, allocations: 1.375 MB / 293.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.1515, allocations: 0.9346 MB / 294.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004785/0.1562, allocations: 4.328 MB / 298.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.1587, allocations: 1.749 MB / 300.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004484/0.1631, allocations: 2.889 MB / 303.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.1662, allocations: 1.921 MB / 305.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007871/0.167, allocations: 0.5075 MB / 305.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.1685, allocations: 0.7199 MB / 306.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007041/0.1692, allocations: 1.164 MB / 307.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.1709, allocations: 1.47 MB / 309.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005076/0.176, allocations: 6.859 MB / 316 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.176, allocations: 0 / 316 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.176, allocations: 0 / 316 MB, free: 4.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.504e-05/0.1761, allocations: 0 / 316 MB, free: 4.172 MB / 266.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.009984/0.1861, allocations: 5.069 MB / 321.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1861, allocations: 8.031 kB / 321.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.1912, allocations: 1.245 MB / 322.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/0.1965, allocations: 2.359 MB / 324.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.1967, allocations: 238.8 kB / 324.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006201/0.1973, allocations: 328.2 kB / 325.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009087/0.2064, allocations: 4.511 MB / 329.8 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.271e-05/0.2065, allocations: 7.984 kB / 329.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003364/0.2068, allocations: 128 kB / 329.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.207, allocations: 154.4 kB / 330 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006834/0.2139, allocations: 3.221 MB / 333.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03557/0.2494, allocations: 21.91 MB / 355.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005853/0.2553, allocations: 2.438 MB / 357.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/0.2579, allocations: 1.181 MB / 358.8 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007447/0.2654, allocations: 3.149 MB / 361.9 MB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.2654, allocations: 62.62 kB / 362 MB, free: 5.254 MB / 314.7 MB Notification: Performance of pre-optimization done (n=134): time 3.216e-06/0.2654, allocations: 0 / 362 MB, free: 5.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=137): time 0.01251/0.278, allocations: 4.649 MB / 366.6 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.278, allocations: 68.72 kB / 366.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.2817, allocations: 2.067 MB / 368.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.2819, allocations: 45.7 kB / 368.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.2835, allocations: 1.712 MB / 370.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006524/0.2842, allocations: 0.5455 MB / 371.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006911/0.2849, allocations: 421.1 kB / 371.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002562/0.2851, allocations: 484.7 kB / 372 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.2863, allocations: 0.5349 MB / 372.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.2882, allocations: 1.372 MB / 373.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/0.2916, allocations: 2.062 MB / 375.9 MB, free: 6.707 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.2916, allocations: 4 kB / 375.9 MB, free: 6.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004701/0.2963, allocations: 2.259 MB / 378.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.2963, allocations: 12 kB / 378.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.2964, allocations: 16 kB / 378.2 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.2977, allocations: 406.6 kB / 378.6 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.2992, allocations: 375.4 kB / 379 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.3097, allocations: 9.762 MB / 388.8 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.3112, allocations: 76.02 kB / 388.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.3114, allocations: 75.98 kB / 388.9 MB, free: 9.262 MB / 346.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.00186/0.3132, allocations: 0.9294 MB / 389.8 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005993/0.3138, allocations: 230.8 kB / 390.1 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004277/0.3181, allocations: 1.842 MB / 391.9 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.3181, allocations: 12 kB / 391.9 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.3181, allocations: 8 kB / 391.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.3181, allocations: 3.984 kB / 391.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.3284, allocations: 4.992 MB / 396.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3284, allocations: 0 / 396.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.3293, allocations: 179.9 kB / 397.1 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002169/0.3314, allocations: 0.6003 MB / 397.7 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.3315, allocations: 43.92 kB / 397.7 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.3486, allocations: 15.49 MB / 413.2 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3486, allocations: 0 / 413.2 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005669/0.3543, allocations: 2.701 MB / 415.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.3554, allocations: 322.7 kB / 416.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.3557, allocations: 36 kB / 416.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008675/0.3565, allocations: 59.95 kB / 416.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/0.3568, allocations: 117 kB / 416.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.3569, allocations: 43.92 kB / 416.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002082/0.359, allocations: 1.172 MB / 417.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.359, allocations: 0 / 417.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002573/0.3616, allocations: 0.582 MB / 418.2 MB, free: 11 MB / 378.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.0003822/0.362, allocations: 170.2 kB / 418.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004232/0.3662, allocations: 2.339 MB / 420.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3662, allocations: 4.5 kB / 420.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003181/0.3694, allocations: 2.007 MB / 422.8 MB, free: 6.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.3717, allocations: 478.2 kB / 423.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.3826, allocations: 5.487 MB / 428.7 MB, free: 296 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1213/0.5039, allocations: 1.647 MB / 430.4 MB, free: 112.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001287/0.5052, allocations: 336 kB / 430.7 MB, free: 112.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.5056, allocations: 119.5 kB / 430.8 MB, free: 112.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.274e-06/0.5056, allocations: 0 / 430.8 MB, free: 112.4 MB / 378.7 MB Notification: Performance of Templates: time 0.04716/0.5527, allocations: 27.9 MB / 458.7 MB, free: 100.9 MB / 378.7 MB " [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=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","/var/lib/jenkins/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: 5.990031246910803]