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_Inverter.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.001245/0.001245, 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.0009322/0.0009322, allocations: 169.4 kB / 24.91 MB, free: 8.766 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.9166/0.9166, allocations: 177.1 MB / 205.3 MB, free: 5.496 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.174e-05, allocations: 5.125 kB / 273.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009263/0.009275, allocations: 12.9 MB / 286.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1039/0.1131, allocations: 4.57 MB / 290.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.115, allocations: 98.59 kB / 291 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.1168, allocations: 1.018 MB / 292.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.1191, allocations: 1.331 MB / 293.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1203, allocations: 0.8877 MB / 294.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.1232, allocations: 4.128 MB / 298.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.1249, allocations: 1.779 MB / 300.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.128, allocations: 2.892 MB / 303.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.1305, allocations: 1.918 MB / 305 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.1316, allocations: 0.4923 MB / 305.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009184/0.1325, allocations: 0.7027 MB / 306.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005453/0.1331, allocations: 1.134 MB / 307.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.1343, allocations: 1.408 MB / 308.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.1369, allocations: 3.387 MB / 312.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1369, allocations: 0 / 312.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1369, allocations: 4 kB / 312.1 MB, free: 8.055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.36e-05/0.137, allocations: 0 / 312.1 MB, free: 8.055 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.004417/0.1414, allocations: 4.181 MB / 316.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1414, allocations: 15.97 kB / 316.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.1436, allocations: 1.085 MB / 317.4 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.1453, allocations: 1.432 MB / 318.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.1454, allocations: 241.7 kB / 319.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.1457, allocations: 311.4 kB / 319.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.148, allocations: 2.382 MB / 321.8 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/0.1481, allocations: 3.953 kB / 321.8 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.1482, allocations: 131.9 kB / 321.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.1484, allocations: 154.3 kB / 322 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.1498, allocations: 0.9294 MB / 323 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008274/0.158, allocations: 8.08 MB / 331 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.1601, allocations: 1.708 MB / 332.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.1612, allocations: 0.8449 MB / 333.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002636/0.1638, allocations: 1.96 MB / 335.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1638, allocations: 51.56 kB / 335.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=120): time 2.484e-06/0.1638, allocations: 7.938 kB / 335.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=123): time 0.00386/0.1677, allocations: 2.485 MB / 338.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.1677, allocations: 64.41 kB / 338.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.1685, allocations: 1.099 MB / 339.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.1685, allocations: 49.7 kB / 339.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.169, allocations: 1.25 MB / 340.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.1692, allocations: 458.9 kB / 341 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.1694, allocations: 278.5 kB / 341.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.1695, allocations: 309.1 kB / 341.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.1697, allocations: 178.7 kB / 341.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.1703, allocations: 0.646 MB / 342.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.171, allocations: 0.9765 MB / 343.4 MB, free: 9.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.171, allocations: 4 kB / 343.4 MB, free: 9.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001156/0.1722, allocations: 1.079 MB / 344.5 MB, free: 8.746 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1722, allocations: 12.28 kB / 344.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.1722, allocations: 20 kB / 344.5 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.1727, allocations: 233.8 kB / 344.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.1733, allocations: 327.1 kB / 345 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.176, allocations: 4.801 MB / 349.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/0.1764, allocations: 63.22 kB / 349.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.1765, allocations: 48 kB / 350 MB, free: 3.082 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004213/0.1769, allocations: 216.6 kB / 350.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.1771, allocations: 143.8 kB / 350.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.1782, allocations: 0.9604 MB / 351.3 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1783, allocations: 15.94 kB / 351.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1783, allocations: 11.98 kB / 351.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1783, allocations: 3.984 kB / 351.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.1807, allocations: 2.108 MB / 353.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1807, allocations: 4 kB / 353.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.181, allocations: 146.4 kB / 353.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006661/0.1817, allocations: 384.7 kB / 353.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/0.1818, allocations: 31.98 kB / 354 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/0.1862, allocations: 8.315 MB / 362.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1862, allocations: 3.984 kB / 362.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.1876, allocations: 1.295 MB / 363.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.1879, allocations: 190.8 kB / 363.8 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.188, allocations: 28 kB / 363.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.1885, allocations: 51.97 kB / 363.8 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.1886, allocations: 96.8 kB / 363.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.1887, allocations: 31.98 kB / 364 MB, free: 4.891 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004167/0.1891, allocations: 0.533 MB / 364.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1891, allocations: 0 / 364.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001178/0.1903, allocations: 0.539 MB / 365 MB, free: 3.879 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002388/0.1905, allocations: 161.2 kB / 365.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.1916, allocations: 1.16 MB / 366.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.413e-05/0.1917, allocations: 18.81 kB / 366.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008701/0.1925, allocations: 1.12 MB / 367.5 MB, free: 1.355 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.1934, allocations: 424.8 kB / 367.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/0.1987, allocations: 4.616 MB / 372.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.1992, allocations: 0.6279 MB / 373.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005114/0.1998, allocations: 230.5 kB / 373.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.2004, allocations: 419.1 kB / 373.8 MB, free: 11 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.2004, allocations: 0 / 373.8 MB, free: 11 MB / 330.7 MB Notification: Performance of Templates: time 0.035/0.2354, allocations: 27.18 MB / 401 MB, free: 320 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.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: 3.295806169975549]