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.00132/0.00132, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001499/0.001499, allocations: 164.5 kB / 25.61 MB, free: 8.852 MB / 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.8938/0.8938, allocations: 177 MB / 205.9 MB, free: 4.43 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.062e-06/1.062e-06, allocations: 0 / 274.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.686e-05, allocations: 2.312 kB / 274.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01069/0.01071, allocations: 13.67 MB / 287.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006924/0.01763, allocations: 5.256 MB / 293.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.01878, allocations: 103.4 kB / 293.2 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.02057, allocations: 1.056 MB / 294.2 MB, free: 68 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.02319, allocations: 1.506 MB / 295.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.02449, allocations: 1.005 MB / 296.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003182/0.02768, allocations: 4.583 MB / 301.3 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.02962, allocations: 1.799 MB / 303.1 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.03256, allocations: 3.224 MB / 306.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.03453, allocations: 2.104 MB / 308.5 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005643/0.0351, allocations: 0.5312 MB / 309 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.03626, allocations: 0.8976 MB / 309.9 MB, free: 308 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.03735, allocations: 1.414 MB / 311.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.03869, allocations: 1.563 MB / 312.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003349/0.04204, allocations: 3.925 MB / 316.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.04204, allocations: 0 / 316.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.04204, allocations: 0 / 316.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.305e-05/0.0421, allocations: 0 / 316.8 MB, free: 9.379 MB / 298.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.006348/0.04845, allocations: 5.169 MB / 322 MB, free: 4.137 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.04848, allocations: 11.97 kB / 322 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.05113, allocations: 1.255 MB / 323.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.05394, allocations: 2.529 MB / 325.8 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.05407, allocations: 255.1 kB / 326 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.0544, allocations: 340.2 kB / 326.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.05722, allocations: 2.507 MB / 328.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/0.05728, allocations: 15.89 kB / 328.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.05748, allocations: 132 kB / 329 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.05759, allocations: 154.7 kB / 329.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.05913, allocations: 0.9941 MB / 330.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.07074, allocations: 11.14 MB / 341.3 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.07335, allocations: 2.045 MB / 343.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/0.07434, allocations: 0.8243 MB / 344.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003538/0.07788, allocations: 2.622 MB / 346.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.07791, allocations: 54.7 kB / 346.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 3.436e-06/0.07792, allocations: 4 kB / 346.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.006644/0.08456, allocations: 4.173 MB / 351 MB, free: 6.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.0846, allocations: 69.41 kB / 351.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.08605, allocations: 1.892 MB / 353 MB, free: 4.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.09e-05/0.08613, allocations: 57.7 kB / 353 MB, free: 4.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.08722, allocations: 1.819 MB / 354.8 MB, free: 2.766 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.08757, allocations: 0.6701 MB / 355.5 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/0.08798, allocations: 364.9 kB / 355.9 MB, free: 1.727 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.08807, allocations: 480.8 kB / 356.3 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.08842, allocations: 239.8 kB / 356.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1108/0.1992, allocations: 0.8345 MB / 357.4 MB, free: 62.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.2009, allocations: 1.209 MB / 358.6 MB, free: 61.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.2009, allocations: 4.109 kB / 358.6 MB, free: 61.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00264/0.2035, allocations: 1.682 MB / 360.3 MB, free: 61.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2035, allocations: 9.797 kB / 360.3 MB, free: 61.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.2035, allocations: 11.06 kB / 360.3 MB, free: 61.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.2046, allocations: 477.2 kB / 360.8 MB, free: 61.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/0.2055, allocations: 401.2 kB / 361.2 MB, free: 61.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.2096, allocations: 6.192 MB / 367.4 MB, free: 57.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008046/0.2104, allocations: 66.05 kB / 367.4 MB, free: 57.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.552e-05/0.2105, allocations: 60.05 kB / 367.5 MB, free: 57.77 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.0006466/0.2111, allocations: 263.9 kB / 367.7 MB, free: 57.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.2115, allocations: 306.4 kB / 368 MB, free: 57.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.2133, allocations: 1.55 MB / 369.6 MB, free: 57.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.2133, allocations: 24.94 kB / 369.6 MB, free: 57.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.2133, allocations: 8.594 kB / 369.6 MB, free: 57.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.2134, allocations: 8.438 kB / 369.6 MB, free: 57.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004159/0.2175, allocations: 3.57 MB / 373.2 MB, free: 56.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2175, allocations: 2.969 kB / 373.2 MB, free: 56.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006061/0.2181, allocations: 255 kB / 373.5 MB, free: 56.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009709/0.2191, allocations: 0.521 MB / 374 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.206e-05/0.2192, allocations: 51.47 kB / 374 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/0.2236, allocations: 10.38 MB / 384.4 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2236, allocations: 0 / 384.4 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.2258, allocations: 2.014 MB / 386.4 MB, free: 48.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/0.2263, allocations: 415.6 kB / 386.8 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.2265, allocations: 37.94 kB / 386.9 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.227, allocations: 61.64 kB / 386.9 MB, free: 48.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.2272, allocations: 149.8 kB / 387.1 MB, free: 48.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.2273, allocations: 48.72 kB / 387.1 MB, free: 48.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007031/0.228, allocations: 1.008 MB / 388.1 MB, free: 48.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.228, allocations: 0 / 388.1 MB, free: 48.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001385/0.2293, allocations: 0.6765 MB / 388.8 MB, free: 48.1 MB / 330.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.0008514/0.2302, allocations: 437 kB / 389.2 MB, free: 47.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.232, allocations: 1.737 MB / 391 MB, free: 47.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.232, allocations: 0 / 391 MB, free: 47.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.2331, allocations: 1.58 MB / 392.5 MB, free: 45.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.2342, allocations: 0.4935 MB / 393 MB, free: 45.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.2401, allocations: 5.929 MB / 399 MB, free: 39.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.2408, allocations: 0.9471 MB / 399.9 MB, free: 39.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006642/0.2415, allocations: 302.4 kB / 400.2 MB, free: 38.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007406/0.2422, allocations: 0.5428 MB / 400.8 MB, free: 38.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2422, allocations: 0 / 400.8 MB, free: 38.43 MB / 330.7 MB Notification: Performance of Templates: time 0.03976/0.282, allocations: 36.73 MB / 437.5 MB, free: 2.258 MB / 330.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.734368103090674]