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.0009969/0.0009969, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.001082/0.001082, allocations: 160.5 kB / 24.55 MB, free: 20 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.8894/0.8894, allocations: 177 MB / 204.8 MB, free: 4.758 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.433e-06/1.433e-06, allocations: 0 / 273 MB, free: 1.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.544e-05, allocations: 10.19 kB / 273 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01612/0.01615, allocations: 14.15 MB / 287.1 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.117/0.1331, allocations: 5.295 MB / 292.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.1352, allocations: 104.2 kB / 292.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.1376, allocations: 1.053 MB / 293.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.1405, allocations: 1.518 MB / 295.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.1423, allocations: 1.012 MB / 296.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00377/0.146, allocations: 4.574 MB / 300.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.1483, allocations: 1.808 MB / 302.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003536/0.1518, allocations: 3.226 MB / 305.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.1538, allocations: 2.09 MB / 307.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00053/0.1543, allocations: 0.5295 MB / 308.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.1555, allocations: 0.8956 MB / 309.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000756/0.1563, allocations: 1.412 MB / 310.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.1575, allocations: 1.567 MB / 312.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.1605, allocations: 3.928 MB / 316.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1605, allocations: 0 / 316.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1605, allocations: 0 / 316.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.1605, allocations: 0 / 316.1 MB, free: 4.949 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.006639/0.1672, allocations: 5.275 MB / 321.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1672, allocations: 15.98 kB / 321.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/0.1709, allocations: 1.335 MB / 322.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/0.1744, allocations: 2.645 MB / 325.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.1745, allocations: 258.6 kB / 325.6 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.175, allocations: 332.3 kB / 326 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004734/0.1797, allocations: 2.729 MB / 328.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-05/0.1798, allocations: 9.703 kB / 328.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.18, allocations: 135 kB / 328.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.1802, allocations: 154.7 kB / 329 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/0.1833, allocations: 1.292 MB / 330.3 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.1941, allocations: 11.21 MB / 341.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.1973, allocations: 2.215 MB / 343.7 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.1985, allocations: 0.9491 MB / 344.7 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00336/0.2019, allocations: 2.691 MB / 347.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.2019, allocations: 54.7 kB / 347.4 MB, free: 5.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 3.126e-06/0.2019, allocations: 4 kB / 347.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.00756/0.2095, allocations: 4.946 MB / 352.3 MB, free: 0.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2095, allocations: 73.41 kB / 352.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.2112, allocations: 1.936 MB / 354.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/0.2113, allocations: 61.69 kB / 354.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.2124, allocations: 1.801 MB / 356.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.2128, allocations: 0.6648 MB / 356.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/0.2132, allocations: 357.1 kB / 357.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.2132, allocations: 480.7 kB / 357.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.2138, allocations: 323.8 kB / 358 MB, free: 10.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.2145, allocations: 0.8964 MB / 358.9 MB, free: 9.734 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.2159, allocations: 1.349 MB / 360.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.2159, allocations: 4 kB / 360.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002557/0.2185, allocations: 1.856 MB / 362.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2185, allocations: 15.98 kB / 362.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2185, allocations: 8 kB / 362.1 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009428/0.2195, allocations: 494.3 kB / 362.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/0.2203, allocations: 423.4 kB / 363 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004833/0.2252, allocations: 6.376 MB / 369.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.2257, allocations: 75.91 kB / 369.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.2258, allocations: 79.97 kB / 369.6 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.0005211/0.2263, allocations: 270.8 kB / 369.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.2266, allocations: 310.4 kB / 370.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.2288, allocations: 1.693 MB / 371.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.2288, allocations: 20 kB / 371.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2288, allocations: 8 kB / 371.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.2288, allocations: 11.95 kB / 371.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/0.234, allocations: 4.347 MB / 376.2 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.234, allocations: 3.984 kB / 376.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.2346, allocations: 271.6 kB / 376.5 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.2356, allocations: 0.5426 MB / 377 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.074e-05/0.2357, allocations: 43.98 kB / 377.1 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/0.2419, allocations: 10.64 MB / 387.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2419, allocations: 7.938 kB / 387.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.2448, allocations: 2.233 MB / 389.9 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007543/0.2455, allocations: 434.2 kB / 390.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.2457, allocations: 40 kB / 390.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.2462, allocations: 86.97 kB / 390.5 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.2464, allocations: 153.6 kB / 390.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.547e-05/0.2465, allocations: 51.97 kB / 390.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001025/0.2475, allocations: 1.109 MB / 391.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2475, allocations: 0 / 391.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001412/0.2489, allocations: 0.6796 MB / 392.5 MB, free: 7.094 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.0009221/0.2498, allocations: 437.3 kB / 392.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.252, allocations: 1.865 MB / 394.8 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2521, allocations: 0 / 394.8 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.2534, allocations: 1.643 MB / 396.4 MB, free: 3.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.2546, allocations: 0.4951 MB / 396.9 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.2612, allocations: 6.025 MB / 402.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.2618, allocations: 0.9465 MB / 403.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007434/0.2626, allocations: 394 kB / 404.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.2629, allocations: 152.5 kB / 404.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2629, allocations: 0 / 404.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.1499/0.4128, allocations: 35.36 MB / 439.8 MB, free: 97.56 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.612366770859808]