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.001436/0.001436, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001591/0.001591, allocations: 166.9 kB / 24.91 MB, free: 9.184 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.9258/0.9258, allocations: 177 MB / 205.2 MB, free: 5.453 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.092e-06/1.092e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.809e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01027/0.01029, allocations: 13.69 MB / 287.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1044/0.1147, allocations: 5.447 MB / 292.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.1165, allocations: 105.6 kB / 292.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.1186, allocations: 1.079 MB / 293.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.1216, allocations: 1.524 MB / 295.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.1232, allocations: 1.025 MB / 296.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003753/0.1269, allocations: 4.576 MB / 300.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.129, allocations: 1.849 MB / 302.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.1325, allocations: 3.225 MB / 305.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002502/0.135, allocations: 2.1 MB / 308 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008967/0.1359, allocations: 0.5285 MB / 308.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.1373, allocations: 0.8991 MB / 309.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000751/0.138, allocations: 1.415 MB / 310.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.1397, allocations: 1.56 MB / 312.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.1426, allocations: 3.927 MB / 316.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1426, allocations: 3.984 kB / 316.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1426, allocations: 0 / 316.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.149e-05/0.1427, allocations: 0 / 316.4 MB, free: 4.652 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.005084/0.1478, allocations: 4.863 MB / 321.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1478, allocations: 11.98 kB / 321.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/0.1504, allocations: 1.184 MB / 322.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.1527, allocations: 1.765 MB / 324.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.1529, allocations: 248.8 kB / 324.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.1532, allocations: 336.1 kB / 324.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.1559, allocations: 2.561 MB / 327.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.1559, allocations: 11.5 kB / 327.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.1561, allocations: 143.4 kB / 327.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.1563, allocations: 153.9 kB / 327.6 MB, free: 9.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.1579, allocations: 1.003 MB / 328.6 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00947/0.1673, allocations: 8.662 MB / 337.3 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.1698, allocations: 1.829 MB / 339.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008883/0.1707, allocations: 0.7567 MB / 339.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003083/0.1737, allocations: 2.136 MB / 342 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1738, allocations: 55.86 kB / 342.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 3.757e-06/0.1738, allocations: 0 / 342.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.00645/0.1802, allocations: 3.986 MB / 346.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1803, allocations: 69.41 kB / 346.1 MB, free: 7.699 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.1816, allocations: 1.739 MB / 347.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/0.1816, allocations: 53.7 kB / 347.9 MB, free: 6.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/0.1822, allocations: 1.326 MB / 349.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.1825, allocations: 0.6477 MB / 349.9 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000324/0.1828, allocations: 326.2 kB / 350.2 MB, free: 4.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.1829, allocations: 305.1 kB / 350.5 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.1832, allocations: 234.7 kB / 350.7 MB, free: 3.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.1837, allocations: 0.6295 MB / 351.4 MB, free: 2.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/0.1846, allocations: 1.058 MB / 352.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.1846, allocations: 4 kB / 352.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001698/0.1863, allocations: 1.328 MB / 353.8 MB, free: 244 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1864, allocations: 11.06 kB / 353.8 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.1864, allocations: 16 kB / 353.8 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008553/0.1872, allocations: 452 kB / 354.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/0.1881, allocations: 395.4 kB / 354.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/0.1917, allocations: 4.733 MB / 359.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.1923, allocations: 62.17 kB / 359.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/0.1924, allocations: 59.98 kB / 359.5 MB, free: 10.44 MB / 314.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.0005395/0.193, allocations: 224.2 kB / 359.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.1932, allocations: 203.7 kB / 359.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.1949, allocations: 1.29 MB / 361.2 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.1949, allocations: 20 kB / 361.2 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.1949, allocations: 12.06 kB / 361.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.1949, allocations: 11.95 kB / 361.2 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.1983, allocations: 2.741 MB / 364 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.1983, allocations: 0 / 364 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.1989, allocations: 251.8 kB / 364.2 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009135/0.1998, allocations: 496.6 kB / 364.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.303e-05/0.1999, allocations: 39.98 kB / 364.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/0.2047, allocations: 7.796 MB / 372.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2047, allocations: 4 kB / 372.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.2066, allocations: 1.677 MB / 374.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.2071, allocations: 266.3 kB / 374.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.2072, allocations: 40 kB / 374.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.2077, allocations: 63.91 kB / 374.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.2079, allocations: 145.7 kB / 374.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.2079, allocations: 35.98 kB / 374.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006309/0.2086, allocations: 0.8163 MB / 375.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2086, allocations: 0 / 375.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001511/0.2101, allocations: 0.6796 MB / 376.2 MB, free: 9.504 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.001064/0.2111, allocations: 0.5224 MB / 376.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.2128, allocations: 1.494 MB / 378.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.449e-05/0.2129, allocations: 24.5 kB / 378.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.214, allocations: 1.263 MB / 379.5 MB, free: 6.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.215, allocations: 0.4902 MB / 380 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/0.2216, allocations: 5.76 MB / 385.8 MB, free: 0 / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/0.2222, allocations: 0.7865 MB / 386.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006981/0.2229, allocations: 302.1 kB / 386.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/0.2237, allocations: 495.1 kB / 387.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2237, allocations: 0 / 387.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of Templates: time 0.04412/0.2678, allocations: 35.97 MB / 423.3 MB, free: 10.82 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.391089162789285]