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.001049/0.001049, allocations: 91.61 kB / 21.19 MB, free: 3.387 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.00103/0.00103, allocations: 160.5 kB / 24.55 MB, free: 28 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 0.9883/0.9883, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.[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_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.[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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.465e-05, allocations: 6.312 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01409/0.01411, allocations: 14.16 MB / 287.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1484/0.1625, allocations: 5.292 MB / 292.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.1648, allocations: 103.2 kB / 292.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.1673, allocations: 1.055 MB / 293.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.1708, allocations: 1.512 MB / 295.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.1727, allocations: 1.017 MB / 296.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004533/0.1773, allocations: 4.575 MB / 300.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.1796, allocations: 1.799 MB / 302.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.1836, allocations: 3.044 MB / 305.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.1861, allocations: 2.127 MB / 307.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006763/0.1868, allocations: 0.5334 MB / 308.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.1881, allocations: 0.9098 MB / 309.1 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007379/0.1888, allocations: 1.426 MB / 310.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.1902, allocations: 1.595 MB / 312.1 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.1933, allocations: 3.953 MB / 316.1 MB, free: 4.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1933, allocations: 0 / 316.1 MB, free: 4.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1933, allocations: 0 / 316.1 MB, free: 4.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.525e-05/0.1933, allocations: 0 / 316.1 MB, free: 4.871 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.005798/0.1991, allocations: 5.329 MB / 321.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1991, allocations: 11.98 kB / 321.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.202, allocations: 1.34 MB / 322.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.2048, allocations: 2.623 MB / 325.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.2049, allocations: 253.3 kB / 325.6 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/0.2053, allocations: 338.7 kB / 325.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.2089, allocations: 2.721 MB / 328.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-05/0.209, allocations: 15.23 kB / 328.7 MB, free: 8.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.2092, allocations: 142.9 kB / 328.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.2093, allocations: 150.7 kB / 329 MB, free: 8.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.2118, allocations: 1.292 MB / 330.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.2232, allocations: 11.23 MB / 341.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.2263, allocations: 2.228 MB / 343.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.2277, allocations: 0.9447 MB / 344.7 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003522/0.2312, allocations: 2.718 MB / 347.4 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.2313, allocations: 58.64 kB / 347.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 3.958e-06/0.2313, allocations: 0 / 347.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.007997/0.2393, allocations: 4.955 MB / 352.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2393, allocations: 69.41 kB / 352.5 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.2412, allocations: 1.991 MB / 354.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.966e-05/0.2413, allocations: 55.03 kB / 354.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009163/0.2422, allocations: 1.801 MB / 356.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/0.2426, allocations: 0.6638 MB / 357 MB, free: 12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/0.243, allocations: 363.6 kB / 357.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2431, allocations: 476.8 kB / 357.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.2436, allocations: 327.8 kB / 358.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008343/0.2445, allocations: 0.8926 MB / 359 MB, free: 9.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.246, allocations: 1.361 MB / 360.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.246, allocations: 4 kB / 360.4 MB, free: 8.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002525/0.2485, allocations: 1.854 MB / 362.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2485, allocations: 8 kB / 362.2 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.2485, allocations: 12 kB / 362.2 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2496, allocations: 490.9 kB / 362.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/0.2505, allocations: 427.3 kB / 363.1 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/0.2556, allocations: 6.378 MB / 369.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/0.2563, allocations: 75.95 kB / 369.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.2564, allocations: 79.92 kB / 369.7 MB, free: 14.64 MB / 330.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.0006573/0.2571, allocations: 264.1 kB / 369.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.2574, allocations: 317.2 kB / 370.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.2597, allocations: 1.693 MB / 371.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.2597, allocations: 23.94 kB / 371.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.2597, allocations: 16 kB / 372 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.2597, allocations: 11.95 kB / 372 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/0.2651, allocations: 4.371 MB / 376.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.2651, allocations: 0 / 376.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.2658, allocations: 267.6 kB / 376.6 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.2669, allocations: 0.5388 MB / 377.1 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-05/0.267, allocations: 55.91 kB / 377.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006389/0.2733, allocations: 10.64 MB / 387.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2733, allocations: 4 kB / 387.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.2763, allocations: 2.241 MB / 390.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/0.2769, allocations: 454.1 kB / 390.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.2771, allocations: 39.98 kB / 390.6 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.2776, allocations: 71.89 kB / 390.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.2778, allocations: 153.7 kB / 390.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.2779, allocations: 47.98 kB / 390.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.2791, allocations: 1.172 MB / 392 MB, free: 7.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2791, allocations: 0 / 392 MB, free: 7.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0016/0.2807, allocations: 0.6903 MB / 392.7 MB, free: 6.992 MB / 346.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.0009308/0.2816, allocations: 442.2 kB / 393.1 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.284, allocations: 1.869 MB / 395 MB, free: 4.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.284, allocations: 0 / 395 MB, free: 4.805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.2855, allocations: 1.646 MB / 396.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.2868, allocations: 0.5031 MB / 397.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007989/0.2948, allocations: 6.056 MB / 403.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007608/0.2955, allocations: 0.9588 MB / 404.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009241/0.2964, allocations: 407.2 kB / 404.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.2968, allocations: 164.5 kB / 404.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2968, allocations: 0 / 404.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Templates: time 0.1807/0.4775, allocations: 35.64 MB / 440.4 MB, free: 96.74 MB / 378.7 MB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 4.94838946685195]