Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002493/0.002493, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002889/0.002889, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 177 MB / 204.5 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.118e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01953/0.01955, allocations: 14.02 MB / 286.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1168/0.1363, allocations: 5.264 MB / 291.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.1383, allocations: 104.1 kB / 291.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.1407, allocations: 1.055 MB / 292.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.144, allocations: 1.505 MB / 294.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.146, allocations: 1.013 MB / 295.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004318/0.1503, allocations: 4.582 MB / 299.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.1526, allocations: 1.797 MB / 301.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003661/0.1562, allocations: 3.042 MB / 304.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.1589, allocations: 2.124 MB / 306.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006117/0.1596, allocations: 0.5314 MB / 307.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.161, allocations: 0.9084 MB / 308.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008443/0.1619, allocations: 1.423 MB / 309.6 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.1633, allocations: 1.592 MB / 311.2 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.1685, allocations: 7.492 MB / 318.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1685, allocations: 0 / 318.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1685, allocations: 7.938 kB / 318.7 MB, free: 1.648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001035/0.1686, allocations: 0 / 318.7 MB, free: 1.648 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.01216/0.1808, allocations: 5.704 MB / 324.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1808, allocations: 11.98 kB / 324.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005255/0.1861, allocations: 1.337 MB / 325.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005402/0.1915, allocations: 2.664 MB / 328.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.1917, allocations: 254.3 kB / 328.7 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005782/0.1923, allocations: 335.1 kB / 329 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009279/0.2016, allocations: 4.84 MB / 333.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.869e-05/0.2017, allocations: 3.953 kB / 333.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003442/0.202, allocations: 139.9 kB / 334 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/0.2022, allocations: 154.7 kB / 334.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007536/0.2097, allocations: 3.469 MB / 337.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03686/0.2466, allocations: 22.1 MB / 359.7 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006818/0.2534, allocations: 2.775 MB / 362.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003152/0.2566, allocations: 1.441 MB / 363.9 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008833/0.2654, allocations: 3.699 MB / 367.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.782e-05/0.2655, allocations: 54.7 kB / 367.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 4.558e-06/0.2655, allocations: 0 / 367.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.018/0.2835, allocations: 6.71 MB / 374.4 MB, free: 9.164 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.2835, allocations: 77.41 kB / 374.5 MB, free: 9.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/0.288, allocations: 2.666 MB / 377.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002574/0.2882, allocations: 57.7 kB / 377.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001932/0.2902, allocations: 1.912 MB / 379.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009001/0.2911, allocations: 0.7186 MB / 379.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008897/0.292, allocations: 444.8 kB / 380.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000245/0.2922, allocations: 484.8 kB / 380.7 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.2937, allocations: 0.7184 MB / 381.4 MB, free: 2.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.2959, allocations: 1.377 MB / 382.8 MB, free: 464 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/0.2998, allocations: 2.313 MB / 385.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.2998, allocations: 4 kB / 385.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006072/0.3059, allocations: 2.771 MB / 387.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.3059, allocations: 12 kB / 387.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.306, allocations: 8.25 kB / 387.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/0.3081, allocations: 0.6399 MB / 388.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.31, allocations: 427.3 kB / 389 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.3221, allocations: 8.106 MB / 397.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.3238, allocations: 75.95 kB / 397.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.324, allocations: 75.92 kB / 397.2 MB, free: 1.574 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.002082/0.3261, allocations: 0.988 MB / 398.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007769/0.3268, allocations: 310.4 kB / 398.5 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005736/0.3326, allocations: 2.487 MB / 401 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/0.3326, allocations: 20 kB / 401 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.3326, allocations: 8 kB / 401 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.3327, allocations: 7.969 kB / 401 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.3464, allocations: 6.275 MB / 407.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.3464, allocations: 0 / 407.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.3478, allocations: 279.6 kB / 407.6 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/0.3503, allocations: 0.7108 MB / 408.3 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.3504, allocations: 43.98 kB / 408.3 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/0.366, allocations: 12.69 MB / 421 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.366, allocations: 4 kB / 421 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007667/0.3736, allocations: 3.634 MB / 424.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.375, allocations: 442.2 kB / 425.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.3753, allocations: 40 kB / 425.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.3764, allocations: 83.88 kB / 425.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003882/0.3767, allocations: 153.6 kB / 425.4 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.3769, allocations: 55.97 kB / 425.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002699/0.3796, allocations: 1.554 MB / 427 MB, free: 3.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3796, allocations: 0 / 427 MB, free: 3.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00248/0.3821, allocations: 0.6835 MB / 427.7 MB, free: 2.516 MB / 378.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.002736/0.3848, allocations: 483.5 kB / 428.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1131/0.4979, allocations: 2.676 MB / 430.8 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.498, allocations: 1.844 kB / 430.8 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003136/0.5011, allocations: 2.049 MB / 432.9 MB, free: 114.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.5037, allocations: 0.5068 MB / 433.4 MB, free: 114.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5143, allocations: 6.572 MB / 439.9 MB, free: 111.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/0.5167, allocations: 1.95 MB / 441.9 MB, free: 111.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001541/0.5182, allocations: 419 kB / 442.3 MB, free: 111.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.5187, allocations: 165.4 kB / 442.5 MB, free: 111.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5187, allocations: 1.25 kB / 442.5 MB, free: 111.5 MB / 378.7 MB Notification: Performance of Templates: time 0.0491/0.5678, allocations: 35.58 MB / 478 MB, free: 86.5 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.430999284028076]