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.0009263/0.0009263, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009608/0.0009608, allocations: 169.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 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.8814/0.8814, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.282e-06/1.282e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.286e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01041/0.01042, allocations: 13.67 MB / 287.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1193/0.1297, allocations: 5.431 MB / 292.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.1313, allocations: 104.3 kB / 292.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.1332, allocations: 1.085 MB / 293.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.1355, allocations: 1.522 MB / 295.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1368, allocations: 1.013 MB / 296.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002877/0.1397, allocations: 4.577 MB / 300.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.1413, allocations: 1.854 MB / 302.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.1439, allocations: 3.218 MB / 306 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.1458, allocations: 2.107 MB / 308.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005105/0.1463, allocations: 0.5296 MB / 308.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009543/0.1473, allocations: 0.8994 MB / 309.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006018/0.1479, allocations: 1.405 MB / 310.9 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.149, allocations: 1.559 MB / 312.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.1513, allocations: 3.931 MB / 316.4 MB, free: 4.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1513, allocations: 4 kB / 316.4 MB, free: 4.578 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1513, allocations: 4 kB / 316.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.1513, allocations: 0 / 316.4 MB, free: 4.574 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.004542/0.1558, allocations: 4.852 MB / 321.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.1559, allocations: 8.031 kB / 321.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.1584, allocations: 1.172 MB / 322.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.1605, allocations: 1.758 MB / 324.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.1606, allocations: 253.5 kB / 324.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.1609, allocations: 337.4 kB / 324.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.1637, allocations: 2.567 MB / 327.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.1637, allocations: 3.953 kB / 327.3 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.1639, allocations: 135.9 kB / 327.5 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.164, allocations: 162.2 kB / 327.6 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.1655, allocations: 0.9966 MB / 328.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009058/0.1746, allocations: 8.673 MB / 337.3 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.1769, allocations: 1.83 MB / 339.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000879/0.1778, allocations: 0.7642 MB / 339.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003144/0.1809, allocations: 2.132 MB / 342 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1809, allocations: 51.88 kB / 342.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 3.166e-06/0.1809, allocations: 0 / 342.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.006181/0.1871, allocations: 3.99 MB / 346.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1872, allocations: 69.41 kB / 346.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.1884, allocations: 1.726 MB / 347.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.103e-05/0.1884, allocations: 57.7 kB / 347.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007636/0.1892, allocations: 1.322 MB / 349.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.1895, allocations: 0.6523 MB / 349.9 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004234/0.1899, allocations: 322.3 kB / 350.2 MB, free: 4.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.558e-05/0.19, allocations: 301.1 kB / 350.5 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.1903, allocations: 242.7 kB / 350.7 MB, free: 3.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.1908, allocations: 0.6325 MB / 351.4 MB, free: 2.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000932/0.1917, allocations: 1.055 MB / 352.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1917, allocations: 4 kB / 352.4 MB, free: 1.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001759/0.1935, allocations: 1.328 MB / 353.8 MB, free: 236 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1935, allocations: 11.94 kB / 353.8 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.1935, allocations: 12 kB / 353.8 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/0.1944, allocations: 451.6 kB / 354.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.1955, allocations: 391.5 kB / 354.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/0.1997, allocations: 4.743 MB / 359.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.2002, allocations: 63.97 kB / 359.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/0.2003, allocations: 63.97 kB / 359.5 MB, free: 10.41 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.0005399/0.2009, allocations: 223.6 kB / 359.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.2011, allocations: 199.8 kB / 359.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.2027, allocations: 1.298 MB / 361.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.2028, allocations: 20 kB / 361.2 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2028, allocations: 8 kB / 361.2 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.2028, allocations: 7.969 kB / 361.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.2064, allocations: 2.725 MB / 363.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2064, allocations: 4.125 kB / 363.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.207, allocations: 247.7 kB / 364.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008888/0.2079, allocations: 0.5027 MB / 364.7 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.2079, allocations: 47.98 kB / 364.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/0.213, allocations: 7.779 MB / 372.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.213, allocations: 64 / 372.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.2149, allocations: 1.685 MB / 374.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.2153, allocations: 258.3 kB / 374.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.2155, allocations: 41.58 kB / 374.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.2159, allocations: 67.97 kB / 374.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.2161, allocations: 137.6 kB / 374.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.2162, allocations: 39.98 kB / 374.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006104/0.2168, allocations: 0.8175 MB / 375.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2168, allocations: 0 / 375.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001363/0.2182, allocations: 0.6796 MB / 376.2 MB, free: 9.547 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.001078/0.2192, allocations: 0.5177 MB / 376.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.2211, allocations: 1.5 MB / 378.3 MB, free: 7.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.166e-05/0.2211, allocations: 24.5 kB / 378.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.2222, allocations: 1.268 MB / 379.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.2233, allocations: 0.4963 MB / 380 MB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.2294, allocations: 5.744 MB / 385.8 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.2301, allocations: 0.7862 MB / 386.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006337/0.2307, allocations: 294 kB / 386.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007793/0.2315, allocations: 495.1 kB / 387.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2315, allocations: 0 / 387.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of Templates: time 0.04447/0.276, allocations: 35.99 MB / 423.3 MB, free: 10.94 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4832541309297085]