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.001067/0.001067, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002527, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009321/0.0009321, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.002051, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9106/0.9106, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08561/0.9962, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.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.443e-06/1.443e-06, allocations: 0 / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.136e-05, allocations: 2.312 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0111/0.01112, allocations: 13.19 MB / 252.8 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009468/0.02058, allocations: 5.096 MB / 257.9 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.02295, allocations: 95.44 kB / 258 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.02594, allocations: 1.068 MB / 259 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.03007, allocations: 1.487 MB / 260.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.03197, allocations: 0.961 MB / 261.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004506/0.03648, allocations: 4.494 MB / 266 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.0385, allocations: 1.842 MB / 267.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004608/0.04311, allocations: 3.459 MB / 271.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.04605, allocations: 2.085 MB / 273.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.04707, allocations: 0.5312 MB / 273.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1217/0.1687, allocations: 0.8922 MB / 274.8 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001989/0.1707, allocations: 1.158 MB / 275.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003192/0.1739, allocations: 1.302 MB / 277.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005625/0.1795, allocations: 3.692 MB / 280.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.408e-05/0.1796, allocations: 0 / 280.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1796, allocations: 1 kB / 280.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002364/0.1798, allocations: 0 / 280.9 MB, free: 8.043 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.01041/0.1902, allocations: 5.695 MB / 286.6 MB, free: 6.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1902, allocations: 6.688 kB / 286.6 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.1929, allocations: 1.168 MB / 287.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.196, allocations: 1.702 MB / 289.5 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.1961, allocations: 249.9 kB / 289.8 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.1965, allocations: 348.3 kB / 290.1 MB, free: 5.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.1997, allocations: 2.547 MB / 292.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.005e-05/0.1998, allocations: 10.83 kB / 292.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.2, allocations: 132.8 kB / 292.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.2001, allocations: 154 kB / 292.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.2018, allocations: 0.9985 MB / 293.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/0.2123, allocations: 8.707 MB / 302.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.2147, allocations: 1.837 MB / 304.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009141/0.2156, allocations: 0.7446 MB / 305.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003962/0.2195, allocations: 2.128 MB / 307.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.2196, allocations: 47.88 kB / 307.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=165): time 3.888e-06/0.2196, allocations: 0 / 307.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=185): time 0.007543/0.2271, allocations: 3.966 MB / 311.4 MB, free: 8.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.2272, allocations: 73.41 kB / 311.4 MB, free: 8.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.2288, allocations: 1.699 MB / 313.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-05/0.2288, allocations: 57.7 kB / 313.2 MB, free: 7.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006996/0.2295, allocations: 1.32 MB / 314.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.2299, allocations: 0.6456 MB / 315.2 MB, free: 5.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.2302, allocations: 327 kB / 315.5 MB, free: 4.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.2303, allocations: 305.1 kB / 315.8 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.2306, allocations: 234.7 kB / 316 MB, free: 4.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.2311, allocations: 0.6271 MB / 316.6 MB, free: 3.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.232, allocations: 1.056 MB / 317.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.232, allocations: 7.938 kB / 317.7 MB, free: 2.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001705/0.2337, allocations: 1.328 MB / 319 MB, free: 1.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2338, allocations: 8 kB / 319 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.2338, allocations: 12 kB / 319 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008769/0.2347, allocations: 452.1 kB / 319.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.2357, allocations: 490.1 kB / 320 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/0.2403, allocations: 4.745 MB / 324.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.2413, allocations: 73.84 kB / 324.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.2414, allocations: 59.98 kB / 324.8 MB, free: 11.47 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.001061/0.2425, allocations: 219.2 kB / 325 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.2428, allocations: 199.8 kB / 325.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.2444, allocations: 1.289 MB / 326.5 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.2445, allocations: 23.98 kB / 326.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.2445, allocations: 8 kB / 326.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.2445, allocations: 11.97 kB / 326.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.2483, allocations: 2.727 MB / 329.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2483, allocations: 0 / 329.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.2491, allocations: 322.1 kB / 329.6 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.2496, allocations: 260.7 kB / 329.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009496/0.2505, allocations: 0.4977 MB / 330.4 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.2506, allocations: 41.7 kB / 330.4 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005317/0.2559, allocations: 7.862 MB / 338.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.2559, allocations: 4 kB / 338.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.2581, allocations: 1.674 MB / 339.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.2584, allocations: 40 kB / 340 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.2589, allocations: 59.97 kB / 340 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.2591, allocations: 145.5 kB / 340.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/0.2592, allocations: 35.98 kB / 340.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008328/0.2601, allocations: 0.7964 MB / 341 MB, free: 11.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2601, allocations: 0 / 341 MB, free: 11.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001841/0.2619, allocations: 0.6757 MB / 341.7 MB, free: 10.77 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.001254/0.2631, allocations: 0.5652 MB / 342.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.265, allocations: 1.495 MB / 343.8 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.982e-05/0.2651, allocations: 43.17 kB / 343.8 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.2664, allocations: 1.311 MB / 345.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.2678, allocations: 0.6619 MB / 345.8 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02425/0.2921, allocations: 5.962 MB / 351.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/0.2929, allocations: 0.7917 MB / 352.5 MB, free: 236 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001056/0.294, allocations: 294.1 kB / 352.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/0.2948, allocations: 498.9 kB / 353.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2948, allocations: 0 / 353.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Templates: time 0.05006/0.3449, allocations: 37.16 MB / 390.5 MB, free: 10.82 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 -ignoreHideResult -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.1878503281623125]