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.00157/0.00157, allocations: 73.95 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001405/0.001405, allocations: 151.7 kB / 24.49 MB, free: 3.727 MB / 14.72 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 1.393/1.393, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|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 0.001588/0.001588, allocations: 47.17 kB / 319.5 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08284/0.08443, allocations: 52.17 MB / 371.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01563/0.1001, allocations: 11.95 MB / 383.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008584/0.1086, allocations: 4.716 MB / 388.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.1097, allocations: 99.44 kB / 388.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.1121, allocations: 1.017 MB / 389.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003336/0.1155, allocations: 1.445 MB / 390.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.1176, allocations: 0.9468 MB / 391.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004752/0.1224, allocations: 4.312 MB / 396.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002471/0.1248, allocations: 1.783 MB / 397.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.1273, allocations: 2.064 MB / 400 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.1305, allocations: 2.179 MB / 402.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007042/0.1312, allocations: 0.5352 MB / 402.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.1328, allocations: 0.89 MB / 403.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.1341, allocations: 1.375 MB / 404.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.1361, allocations: 1.851 MB / 406.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007473/0.1436, allocations: 7.397 MB / 414.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1436, allocations: 4 kB / 414.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1436, allocations: 4 kB / 414.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.754e-05/0.1437, allocations: 0 / 414.2 MB, free: 12.5 MB / 382.1 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.01106/0.1548, allocations: 5.017 MB / 419.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1548, allocations: 12.86 kB / 419.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/0.1592, allocations: 0.896 MB / 420.1 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004801/0.164, allocations: 2.709 MB / 422.8 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.1643, allocations: 258.6 kB / 423.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005292/0.1648, allocations: 335.9 kB / 423.4 MB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007806/0.1726, allocations: 4.702 MB / 428.1 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.93e-05/0.1727, allocations: 7.938 kB / 428.1 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.173, allocations: 136 kB / 428.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/0.1732, allocations: 154.7 kB / 428.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007207/0.1804, allocations: 3.907 MB / 432.3 MB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.2011, allocations: 12.11 MB / 444.4 MB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006434/0.2075, allocations: 2.952 MB / 447.4 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/0.2106, allocations: 1.575 MB / 448.9 MB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007372/0.2179, allocations: 3.579 MB / 452.5 MB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.218, allocations: 51.88 kB / 452.6 MB, free: 5.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.088e-06/0.218, allocations: 0 / 452.6 MB, free: 5.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01699/0.235, allocations: 7.394 MB / 460 MB, free: 14.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.235, allocations: 69.41 kB / 460 MB, free: 14.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/0.2384, allocations: 2.426 MB / 462.5 MB, free: 11.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.2385, allocations: 57.7 kB / 462.5 MB, free: 11.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.2399, allocations: 1.657 MB / 464.2 MB, free: 10 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.2404, allocations: 0.6623 MB / 464.8 MB, free: 9.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005773/0.241, allocations: 335.5 kB / 465.2 MB, free: 9.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2411, allocations: 309.1 kB / 465.5 MB, free: 8.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.2428, allocations: 0.9019 MB / 466.4 MB, free: 7.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.2448, allocations: 1.331 MB / 467.7 MB, free: 6.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003989/0.2488, allocations: 2.355 MB / 470.1 MB, free: 3.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.2488, allocations: 7.938 kB / 470.1 MB, free: 3.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00609/0.2549, allocations: 3.043 MB / 473.1 MB, free: 0.7422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.2549, allocations: 15.94 kB / 473.1 MB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.255, allocations: 12 kB / 473.1 MB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.2565, allocations: 0.5518 MB / 473.7 MB, free: 160 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1647/0.4212, allocations: 427.7 kB / 474.1 MB, free: 87.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008006/0.4292, allocations: 7.206 MB / 481.3 MB, free: 84.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.4308, allocations: 89.84 kB / 481.4 MB, free: 84.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.4309, allocations: 80.19 kB / 481.5 MB, free: 84.26 MB / 430.1 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.001799/0.4327, allocations: 1.157 MB / 482.6 MB, free: 83.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/0.4331, allocations: 247 kB / 482.9 MB, free: 83.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004902/0.438, allocations: 2.849 MB / 485.7 MB, free: 82.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/0.438, allocations: 20.88 kB / 485.7 MB, free: 82.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.438, allocations: 14.69 kB / 485.8 MB, free: 82.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.4381, allocations: 13.95 kB / 485.8 MB, free: 82.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008168/0.4462, allocations: 5.471 MB / 491.2 MB, free: 80.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4462, allocations: 1.25 kB / 491.2 MB, free: 80.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.4475, allocations: 282.3 kB / 491.5 MB, free: 80.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.4488, allocations: 0.6273 MB / 492.1 MB, free: 79.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.4489, allocations: 51.11 kB / 492.2 MB, free: 79.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008343/0.4572, allocations: 10.78 MB / 0.4912 GB, free: 71.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4572, allocations: 0 / 0.4912 GB, free: 71.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00552/0.4627, allocations: 4.125 MB / 0.4952 GB, free: 68.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008324/0.4636, allocations: 480.1 kB / 0.4957 GB, free: 68.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.4638, allocations: 39.66 kB / 0.4957 GB, free: 68.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.4648, allocations: 80.95 kB / 0.4958 GB, free: 68.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.4651, allocations: 145.7 kB / 0.4959 GB, free: 67.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.4652, allocations: 51.97 kB / 0.496 GB, free: 67.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001661/0.4669, allocations: 1.685 MB / 0.4976 GB, free: 66.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4669, allocations: 3.844 kB / 0.4976 GB, free: 66.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001851/0.4687, allocations: 0.6841 MB / 0.4983 GB, free: 65.45 MB / 430.1 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.001497/0.4702, allocations: 479.5 kB / 0.4988 GB, free: 65.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00393/0.4741, allocations: 2.721 MB / 0.5014 GB, free: 62.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4741, allocations: 4 kB / 0.5014 GB, free: 62.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002314/0.4765, allocations: 1.848 MB / 0.5032 GB, free: 60.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.4783, allocations: 494.5 kB / 0.5037 GB, free: 60.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/0.4866, allocations: 7.129 MB / 0.5107 GB, free: 52.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/0.4883, allocations: 2.067 MB / 0.5127 GB, free: 50.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001201/0.4895, allocations: 479.1 kB / 0.5131 GB, free: 50.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.4899, allocations: 164.5 kB / 0.5133 GB, free: 50.2 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4899, allocations: 0 / 0.5133 GB, free: 50.2 MB / 430.1 MB Notification: Performance of Templates: time 0.04683/0.5367, allocations: 35.15 MB / 0.5476 GB, free: 15.45 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.130496861995198]