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.0008279/0.0008279, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.000927/0.000927, allocations: 161 kB / 24.56 MB, free: 12 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 0.9095/0.9095, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.[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_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.[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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.155e-05, allocations: 6.312 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01728/0.0173, allocations: 14.14 MB / 287.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1176/0.1349, allocations: 5.28 MB / 292.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/0.1372, allocations: 102.1 kB / 292.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.1398, allocations: 1.058 MB / 293.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.1436, allocations: 1.509 MB / 295.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.1456, allocations: 1.026 MB / 296.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004788/0.1504, allocations: 4.564 MB / 300.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/0.1527, allocations: 1.799 MB / 302.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.1568, allocations: 3.224 MB / 305.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.1595, allocations: 2.093 MB / 307.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009813/0.1605, allocations: 0.5276 MB / 308.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.162, allocations: 0.8979 MB / 309.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007299/0.1627, allocations: 1.406 MB / 310.7 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.1643, allocations: 1.558 MB / 312.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.1673, allocations: 3.935 MB / 316.1 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1673, allocations: 0 / 316.1 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1673, allocations: 0 / 316.1 MB, free: 5.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001057/0.1674, allocations: 0 / 316.1 MB, free: 5.105 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.005501/0.173, allocations: 5.281 MB / 321.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.173, allocations: 8.031 kB / 321.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.1757, allocations: 1.327 MB / 322.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.1786, allocations: 2.642 MB / 325.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.1787, allocations: 253.3 kB / 325.6 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.179, allocations: 335 kB / 326 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.1827, allocations: 2.725 MB / 328.7 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.573e-05/0.1828, allocations: 3.953 kB / 328.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.183, allocations: 138.2 kB / 328.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.1831, allocations: 158.2 kB / 329 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.1856, allocations: 1.287 MB / 330.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.1967, allocations: 11.21 MB / 341.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.1996, allocations: 2.239 MB / 343.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.2008, allocations: 0.9299 MB / 344.7 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003339/0.2041, allocations: 2.689 MB / 347.3 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2042, allocations: 62.62 kB / 347.4 MB, free: 5.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 2.935e-06/0.2042, allocations: 0 / 347.4 MB, free: 5.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.007759/0.2119, allocations: 4.945 MB / 352.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.212, allocations: 77.39 kB / 352.4 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.2138, allocations: 1.928 MB / 354.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-05/0.2139, allocations: 53.7 kB / 354.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009023/0.2148, allocations: 1.793 MB / 356.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.2152, allocations: 0.6722 MB / 356.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.2156, allocations: 356.4 kB / 357.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.2157, allocations: 476.8 kB / 357.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.2163, allocations: 323.8 kB / 358 MB, free: 11.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/0.2171, allocations: 0.9042 MB / 358.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.2186, allocations: 1.355 MB / 360.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.2186, allocations: 0 / 360.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002622/0.2212, allocations: 1.85 MB / 362.1 MB, free: 6.594 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.2212, allocations: 15.94 kB / 362.1 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.2213, allocations: 8 kB / 362.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.2223, allocations: 491.5 kB / 362.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.2232, allocations: 431.3 kB / 363 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004804/0.228, allocations: 6.372 MB / 369.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008241/0.2288, allocations: 87.88 kB / 369.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.229, allocations: 75.98 kB / 369.6 MB, free: 14.91 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.0007079/0.2297, allocations: 260.1 kB / 369.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.23, allocations: 310.4 kB / 370.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.2323, allocations: 1.69 MB / 371.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.2324, allocations: 20 kB / 371.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.2324, allocations: 8 kB / 371.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.2324, allocations: 7.969 kB / 371.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/0.2379, allocations: 4.356 MB / 376.2 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2379, allocations: 8.188 kB / 376.2 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/0.2385, allocations: 271.6 kB / 376.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.2397, allocations: 0.5381 MB / 377 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.2398, allocations: 51.97 kB / 377.1 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006496/0.2463, allocations: 10.63 MB / 387.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2463, allocations: 7.938 kB / 387.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.2495, allocations: 2.238 MB / 389.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/0.2502, allocations: 438.2 kB / 390.4 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.2504, allocations: 39.94 kB / 390.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.2509, allocations: 75.95 kB / 390.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.2512, allocations: 153.6 kB / 390.6 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.2513, allocations: 51.98 kB / 390.7 MB, free: 9.176 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001174/0.2525, allocations: 1.105 MB / 391.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2525, allocations: 0 / 391.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001721/0.2542, allocations: 0.6784 MB / 392.5 MB, free: 7.379 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.0009839/0.2552, allocations: 449.3 kB / 392.9 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.2578, allocations: 1.862 MB / 394.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2578, allocations: 0 / 394.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.2596, allocations: 1.633 MB / 396.4 MB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.2609, allocations: 0.5045 MB / 396.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/0.2683, allocations: 5.997 MB / 402.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.2692, allocations: 0.9463 MB / 403.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008288/0.27, allocations: 397.8 kB / 404.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.2703, allocations: 160.5 kB / 404.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2703, allocations: 0 / 404.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Templates: time 0.1548/0.4251, allocations: 35.36 MB / 439.8 MB, free: 98.84 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",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.720859803725034]