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_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.923/0.923, allocations: 173.3 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.632e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01081/0.01083, allocations: 13.05 MB / 281.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006614/0.01744, allocations: 4.848 MB / 286.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007478/0.01819, allocations: 99.38 kB / 286.5 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.01979, allocations: 1.04 MB / 287.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.0218, allocations: 1.491 MB / 289 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.02297, allocations: 0.9572 MB / 289.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1168/0.1398, allocations: 4.484 MB / 294.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.1421, allocations: 1.791 MB / 296.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003855/0.146, allocations: 3.203 MB / 299.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002656/0.1486, allocations: 2.096 MB / 301.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009153/0.1496, allocations: 0.5282 MB / 302 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.1509, allocations: 0.8909 MB / 302.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006601/0.1516, allocations: 1.398 MB / 304.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.1528, allocations: 1.559 MB / 305.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002721/0.1555, allocations: 3.896 MB / 309.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1555, allocations: 0 / 309.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1555, allocations: 3.312 kB / 309.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.1556, allocations: 0 / 309.8 MB, free: 11.02 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.005672/0.1613, allocations: 5.111 MB / 314.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1613, allocations: 12.92 kB / 314.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.1637, allocations: 1.251 MB / 316.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.1658, allocations: 2.464 MB / 318.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/0.1659, allocations: 254.7 kB / 318.9 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.1662, allocations: 343.6 kB / 319.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.1687, allocations: 2.492 MB / 321.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.1688, allocations: 15.11 kB / 321.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.169, allocations: 132 kB / 321.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.939e-05/0.1691, allocations: 161.5 kB / 322 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.1706, allocations: 0.986 MB / 323 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.1818, allocations: 11.12 MB / 334.1 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.1843, allocations: 2.03 MB / 336.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009476/0.1853, allocations: 0.8286 MB / 337 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003166/0.1884, allocations: 2.618 MB / 339.6 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.1885, allocations: 50.7 kB / 339.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 4.328e-06/0.1885, allocations: 0 / 339.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.006761/0.1952, allocations: 4.144 MB / 343.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1953, allocations: 74.25 kB / 343.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.1967, allocations: 1.845 MB / 345.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.896e-05/0.1968, allocations: 57.61 kB / 345.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008833/0.1977, allocations: 1.81 MB / 347.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006069/0.1983, allocations: 0.6681 MB / 348.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/0.1987, allocations: 363.7 kB / 348.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.1988, allocations: 484.7 kB / 349.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.1991, allocations: 240.4 kB / 349.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.1997, allocations: 0.8288 MB / 350.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.2008, allocations: 1.214 MB / 351.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.2008, allocations: 4 kB / 351.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001964/0.2028, allocations: 1.677 MB / 353 MB, free: 2.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2028, allocations: 8 kB / 353 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.2028, allocations: 15.94 kB / 353 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008916/0.2037, allocations: 487.8 kB / 353.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/0.2045, allocations: 394.1 kB / 353.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004624/0.2091, allocations: 6.198 MB / 360.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/0.2098, allocations: 59.89 kB / 360.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.293e-05/0.2099, allocations: 59.98 kB / 360.2 MB, free: 11.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006701/0.2106, allocations: 266.6 kB / 360.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.2109, allocations: 306.4 kB / 360.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.2128, allocations: 1.544 MB / 362.3 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.2128, allocations: 20 kB / 362.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.2128, allocations: 8 kB / 362.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.2129, allocations: 7.969 kB / 362.4 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.2173, allocations: 3.548 MB / 365.9 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2173, allocations: 4.125 kB / 365.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.2179, allocations: 249.7 kB / 366.2 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009452/0.2188, allocations: 0.5215 MB / 366.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-05/0.2189, allocations: 51.97 kB / 366.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00594/0.2248, allocations: 10.41 MB / 377.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2248, allocations: 0 / 377.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.2274, allocations: 2.015 MB / 379.2 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.2279, allocations: 406.4 kB / 379.6 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.228, allocations: 32 kB / 379.6 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.2285, allocations: 66.94 kB / 379.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.2287, allocations: 145.1 kB / 379.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.2287, allocations: 43.97 kB / 379.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007512/0.2295, allocations: 0.9868 MB / 380.8 MB, free: 6.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2295, allocations: 0 / 380.8 MB, free: 6.969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001608/0.2311, allocations: 0.6757 MB / 381.5 MB, free: 6.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009014/0.232, allocations: 444.3 kB / 381.9 MB, free: 6.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.2339, allocations: 1.723 MB / 383.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2339, allocations: 0 / 383.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.2356, allocations: 1.619 MB / 385.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.2368, allocations: 485.8 kB / 385.7 MB, free: 2.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/0.2431, allocations: 5.921 MB / 391.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009831/0.2441, allocations: 0.9416 MB / 392.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006662/0.2448, allocations: 293.7 kB / 392.9 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007932/0.2456, allocations: 0.5409 MB / 393.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2456, allocations: 0 / 393.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of Templates: time 0.04475/0.2903, allocations: 35.57 MB / 429 MB, free: 7.441 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.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: 4.5387020339258015]