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_withLosses.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.001423/0.001423, allocations: 96.31 kB / 20.96 MB, free: 3.586 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.001552/0.001552, allocations: 157.7 kB / 24.27 MB, free: 292 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.457/1.457, allocations: 177.1 MB / 204.6 MB, free: 5.602 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_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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.556e-05, allocations: 2.312 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01766/0.01769, allocations: 12.53 MB / 284.9 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.02881, allocations: 5.098 MB / 290 MB, free: 76 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1136/0.1424, allocations: 101 kB / 290.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.1457, allocations: 1.051 MB / 291.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.1499, allocations: 1.505 MB / 292.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.1524, allocations: 1.001 MB / 293.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005746/0.1582, allocations: 4.57 MB / 298.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.1611, allocations: 1.791 MB / 300 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005573/0.1666, allocations: 3.014 MB / 303 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003777/0.1704, allocations: 1.948 MB / 305 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009781/0.1714, allocations: 0.5334 MB / 305.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.1735, allocations: 0.9125 MB / 306.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009371/0.1744, allocations: 1.407 MB / 307.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002226/0.1766, allocations: 1.572 MB / 309.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005925/0.1825, allocations: 7.448 MB / 316.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1825, allocations: 4 kB / 316.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1826, allocations: 3.938 kB / 316.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001602/0.1827, allocations: 0 / 316.8 MB, free: 2.566 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.01142/0.1941, allocations: 5.015 MB / 321.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1942, allocations: 12.03 kB / 321.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005444/0.1996, allocations: 1.338 MB / 323.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005539/0.2052, allocations: 2.86 MB / 326.1 MB, free: 9.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.2054, allocations: 252.6 kB / 326.3 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006428/0.2061, allocations: 342.6 kB / 326.7 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009202/0.2153, allocations: 4.709 MB / 331.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.982e-05/0.2153, allocations: 7.047 kB / 331.4 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.2157, allocations: 139.7 kB / 331.5 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.2159, allocations: 154.7 kB / 331.7 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007776/0.2237, allocations: 3.907 MB / 335.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02476/0.2484, allocations: 12.37 MB / 347.9 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006907/0.2553, allocations: 2.968 MB / 350.9 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003583/0.2589, allocations: 1.579 MB / 352.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007977/0.2669, allocations: 3.633 MB / 356.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/0.267, allocations: 51.88 kB / 356.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=165): time 3.637e-06/0.267, allocations: 0 / 356.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=185): time 0.01928/0.2862, allocations: 7.483 MB / 363.6 MB, free: 3.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.2863, allocations: 80.81 kB / 363.7 MB, free: 3.887 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00395/0.2903, allocations: 2.46 MB / 366.2 MB, free: 1.395 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.2904, allocations: 57.7 kB / 366.2 MB, free: 1.332 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.2923, allocations: 1.681 MB / 367.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006784/0.2929, allocations: 0.6467 MB / 368.6 MB, free: 15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006578/0.2936, allocations: 335.4 kB / 368.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2938, allocations: 301.1 kB / 369.2 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.2956, allocations: 0.9097 MB / 370.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.2979, allocations: 1.332 MB / 371.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004485/0.3024, allocations: 2.353 MB / 373.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.3024, allocations: 4 kB / 373.8 MB, free: 9.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006879/0.3093, allocations: 3.138 MB / 376.9 MB, free: 6.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.3093, allocations: 11.94 kB / 376.9 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.3093, allocations: 12 kB / 377 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.3115, allocations: 0.6396 MB / 377.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.3134, allocations: 434.8 kB / 378 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.3249, allocations: 7.274 MB / 385.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.3266, allocations: 91.83 kB / 385.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.3268, allocations: 75.98 kB / 385.5 MB, free: 13.79 MB / 346.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.00226/0.329, allocations: 1.165 MB / 386.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006454/0.3297, allocations: 314.5 kB / 386.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006423/0.3361, allocations: 2.856 MB / 389.8 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/0.3361, allocations: 20 kB / 389.8 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.3362, allocations: 15.92 kB / 389.8 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.3362, allocations: 7.969 kB / 389.8 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.3479, allocations: 5.49 MB / 395.3 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3479, allocations: 0 / 395.3 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.3493, allocations: 273.7 kB / 395.6 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/0.3518, allocations: 0.7353 MB / 396.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.3519, allocations: 47.98 kB / 396.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/0.3669, allocations: 10.85 MB / 407.2 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3669, allocations: 0 / 407.2 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008756/0.3756, allocations: 4.184 MB / 411.4 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.3769, allocations: 474.2 kB / 411.9 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.3772, allocations: 39.94 kB / 411.9 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.3784, allocations: 83.92 kB / 412 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004086/0.3788, allocations: 145 kB / 412.1 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.3789, allocations: 51.98 kB / 412.2 MB, free: 2.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002851/0.3818, allocations: 1.718 MB / 413.9 MB, free: 1.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3818, allocations: 0 / 413.9 MB, free: 1.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002565/0.3843, allocations: 0.7009 MB / 414.6 MB, free: 324 kB / 362.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.002051/0.3864, allocations: 478.6 kB / 415.1 MB, free: 32 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006175/0.3926, allocations: 2.735 MB / 417.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3926, allocations: 4.188 kB / 417.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003551/0.3961, allocations: 1.846 MB / 419.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.3987, allocations: 0.5211 MB / 420.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.412, allocations: 7.077 MB / 427.2 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/0.4148, allocations: 2.084 MB / 429.3 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001684/0.4165, allocations: 487.2 kB / 429.8 MB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005318/0.4171, allocations: 164.5 kB / 430 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.4171, allocations: 4 kB / 430 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of Templates: time 0.1568/0.5739, allocations: 35.54 MB / 465.5 MB, free: 98.99 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.262330303085037]