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.001014/0.001014, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009421/0.0009421, allocations: 140 kB / 24.89 MB, free: 9.207 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.9567/0.9567, allocations: 173.4 MB / 201.5 MB, free: 9.211 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.092e-06/1.092e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.305e-05, allocations: 2.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01061/0.01062, allocations: 13.08 MB / 281.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007469/0.01809, allocations: 5.029 MB / 286.6 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.01909, allocations: 95.44 kB / 286.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.02084, allocations: 1.064 MB / 287.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.02311, allocations: 1.506 MB / 289.3 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.0244, allocations: 0.9797 MB / 290.3 MB, free: 320 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.105/0.1294, allocations: 4.484 MB / 294.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.132, allocations: 1.849 MB / 296.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.136, allocations: 3.198 MB / 299.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.1387, allocations: 2.102 MB / 301.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.1398, allocations: 0.5265 MB / 302.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.141, allocations: 0.8868 MB / 303.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006702/0.1416, allocations: 1.403 MB / 304.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.143, allocations: 1.555 MB / 306.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.1458, allocations: 3.899 MB / 310.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1458, allocations: 3.344 kB / 310.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1458, allocations: 0 / 310.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.146, allocations: 0 / 310.2 MB, free: 11.01 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.004923/0.1509, allocations: 4.81 MB / 315 MB, free: 7.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1509, allocations: 12.91 kB / 315 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.1531, allocations: 1.152 MB / 316.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.1549, allocations: 1.712 MB / 317.9 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.12e-05/0.155, allocations: 251 kB / 318.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/0.1553, allocations: 345.5 kB / 318.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.1574, allocations: 2.553 MB / 321 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/0.1575, allocations: 3.938 kB / 321 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.1577, allocations: 136 kB / 321.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-05/0.1577, allocations: 150.7 kB / 321.3 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.159, allocations: 0.999 MB / 322.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008611/0.1676, allocations: 8.652 MB / 330.9 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.1699, allocations: 1.826 MB / 332.8 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008552/0.1708, allocations: 0.7508 MB / 333.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002836/0.1736, allocations: 2.126 MB / 335.6 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1736, allocations: 47.88 kB / 335.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=165): time 3.447e-06/0.1736, allocations: 0 / 335.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=185): time 0.006012/0.1796, allocations: 3.969 MB / 339.7 MB, free: 12 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1797, allocations: 69.41 kB / 339.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1809, allocations: 1.699 MB / 341.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.943e-05/0.1809, allocations: 57.7 kB / 341.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000521/0.1815, allocations: 1.314 MB / 342.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.1818, allocations: 0.6471 MB / 343.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.1821, allocations: 326 kB / 343.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.1822, allocations: 303.9 kB / 344 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.1825, allocations: 238.7 kB / 344.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.183, allocations: 0.6267 MB / 344.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.1839, allocations: 1.053 MB / 346 MB, free: 9.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1839, allocations: 4 kB / 346 MB, free: 9.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001576/0.1855, allocations: 1.325 MB / 347.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1855, allocations: 19.97 kB / 347.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1855, allocations: 8 kB / 347.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008169/0.1863, allocations: 450.8 kB / 347.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.1871, allocations: 392.9 kB / 348.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.1907, allocations: 4.731 MB / 352.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.1912, allocations: 59.98 kB / 352.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.1913, allocations: 67.06 kB / 353 MB, free: 2.898 MB / 298.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.0005486/0.1919, allocations: 222.9 kB / 353.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.1921, allocations: 195.8 kB / 353.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.1936, allocations: 1.296 MB / 354.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.1937, allocations: 20 kB / 354.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1937, allocations: 12 kB / 354.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.1937, allocations: 11.81 kB / 354.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.1969, allocations: 2.712 MB / 357.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1969, allocations: 0 / 357.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.1975, allocations: 247.3 kB / 357.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008678/0.1983, allocations: 0.4934 MB / 358.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.1984, allocations: 47.97 kB / 358.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00462/0.203, allocations: 7.837 MB / 366.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.203, allocations: 4.062 kB / 366.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.2049, allocations: 1.67 MB / 367.7 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.2053, allocations: 258.3 kB / 368 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.2054, allocations: 39.94 kB / 368 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.2059, allocations: 65.69 kB / 368.1 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.206, allocations: 139.8 kB / 368.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.2061, allocations: 39.97 kB / 368.3 MB, free: 3.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005734/0.2067, allocations: 0.7929 MB / 369.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2067, allocations: 0 / 369.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001292/0.208, allocations: 0.6718 MB / 369.7 MB, free: 2.312 MB / 314.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.001033/0.209, allocations: 0.5302 MB / 370.3 MB, free: 2.004 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.2106, allocations: 1.497 MB / 371.8 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.296e-05/0.2106, allocations: 24.5 kB / 371.8 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.2118, allocations: 1.312 MB / 373.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.2128, allocations: 488 kB / 373.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/0.2186, allocations: 5.733 MB / 379.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.2192, allocations: 0.7816 MB / 380.1 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006149/0.2199, allocations: 289.8 kB / 380.4 MB, free: 7.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007562/0.2206, allocations: 486.7 kB / 380.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of SimCode: time 2.224e-06/0.2206, allocations: 0 / 380.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of Templates: time 0.04087/0.2615, allocations: 35.43 MB / 416.3 MB, free: 4.527 MB / 362.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.477973661385477]