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.00094/0.00094, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001608/0.001608, allocations: 174 kB / 25.61 MB, free: 8.926 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.9592/0.9592, allocations: 177.2 MB / 206.1 MB, free: 4.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.322e-06/1.322e-06, allocations: 0 / 274.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.242e-05, allocations: 5.547 kB / 274.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009454/0.009466, allocations: 12.88 MB / 287.1 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005495/0.01496, allocations: 4.392 MB / 291.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008497/0.01581, allocations: 99.38 kB / 291.6 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.01725, allocations: 0.9937 MB / 292.6 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.01897, allocations: 1.324 MB / 293.9 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009955/0.01997, allocations: 0.8671 MB / 294.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002686/0.02266, allocations: 4.136 MB / 298.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.02409, allocations: 1.73 MB / 300.6 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.02638, allocations: 2.901 MB / 303.5 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.02785, allocations: 1.914 MB / 305.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.0282, allocations: 0.4922 MB / 306 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.02887, allocations: 0.6949 MB / 306.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006077/0.02948, allocations: 1.141 MB / 307.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.03064, allocations: 1.411 MB / 309.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.03298, allocations: 3.38 MB / 312.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.03299, allocations: 0 / 312.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.03299, allocations: 0 / 312.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.03301, allocations: 0 / 312.6 MB, free: 13.93 MB / 298.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.005119/0.03812, allocations: 4.432 MB / 317 MB, free: 9.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.03815, allocations: 8.031 kB / 317 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/0.04043, allocations: 1.134 MB / 318.2 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.04237, allocations: 2.183 MB / 320.3 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.04247, allocations: 230.6 kB / 320.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.04275, allocations: 312.3 kB / 320.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.04509, allocations: 2.339 MB / 323.2 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.04514, allocations: 0 / 323.2 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.04542, allocations: 128 kB / 323.3 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.59e-05/0.04551, allocations: 150.2 kB / 323.5 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.04683, allocations: 0.9211 MB / 324.4 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009093/0.05592, allocations: 10.27 MB / 334.7 MB, free: 7.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.05814, allocations: 1.86 MB / 336.5 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.05923, allocations: 0.9083 MB / 337.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002816/0.06204, allocations: 2.49 MB / 339.9 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.06207, allocations: 50.33 kB / 340 MB, free: 2.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 2.194e-06/0.06207, allocations: 0 / 340 MB, free: 2.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.1095/0.1715, allocations: 2.699 MB / 342.7 MB, free: 52.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.1716, allocations: 68.84 kB / 342.7 MB, free: 52.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.173, allocations: 1.306 MB / 344 MB, free: 52.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.014e-05/0.1731, allocations: 44.2 kB / 344.1 MB, free: 52.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007317/0.1738, allocations: 1.555 MB / 345.6 MB, free: 52.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.1741, allocations: 473 kB / 346.1 MB, free: 51.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.1744, allocations: 314.9 kB / 346.4 MB, free: 51.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.1745, allocations: 476.8 kB / 346.9 MB, free: 51.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.1747, allocations: 175 kB / 347.1 MB, free: 51.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.1752, allocations: 0.8767 MB / 347.9 MB, free: 50.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008842/0.1761, allocations: 1.162 MB / 349.1 MB, free: 49.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.1761, allocations: 5.891 kB / 349.1 MB, free: 49.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00157/0.1777, allocations: 1.343 MB / 350.4 MB, free: 49.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.1777, allocations: 15.06 kB / 350.5 MB, free: 49.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.1777, allocations: 13.97 kB / 350.5 MB, free: 49.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000471/0.1782, allocations: 255.2 kB / 350.7 MB, free: 49.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.1788, allocations: 328 kB / 351 MB, free: 49.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.1812, allocations: 6.623 MB / 357.7 MB, free: 43.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.1817, allocations: 51.98 kB / 357.7 MB, free: 43.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.1818, allocations: 55.66 kB / 357.8 MB, free: 43.79 MB / 314.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.0004837/0.1823, allocations: 262.8 kB / 358 MB, free: 43.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.1824, allocations: 214.5 kB / 358.2 MB, free: 43.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.1837, allocations: 1.149 MB / 359.4 MB, free: 43.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1837, allocations: 17.12 kB / 359.4 MB, free: 43.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1837, allocations: 6.594 kB / 359.4 MB, free: 43.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.1837, allocations: 7.172 kB / 359.4 MB, free: 43.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.1865, allocations: 2.752 MB / 362.2 MB, free: 42.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1865, allocations: 7.406 kB / 362.2 MB, free: 42.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.1868, allocations: 157.1 kB / 362.3 MB, free: 42.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006755/0.1875, allocations: 418.5 kB / 362.7 MB, free: 42.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.1876, allocations: 32.02 kB / 362.8 MB, free: 42.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/0.1913, allocations: 11.4 MB / 374.2 MB, free: 33.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1913, allocations: 3.812 kB / 374.2 MB, free: 33.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.1928, allocations: 1.534 MB / 375.7 MB, free: 32.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.1931, allocations: 290.5 kB / 376 MB, free: 32.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.1932, allocations: 29.25 kB / 376 MB, free: 32.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.1935, allocations: 52.23 kB / 376.1 MB, free: 32.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.1937, allocations: 106.5 kB / 376.2 MB, free: 32.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.1937, allocations: 28.62 kB / 376.2 MB, free: 32.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004445/0.1942, allocations: 0.701 MB / 376.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1942, allocations: 0 / 376.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001082/0.1952, allocations: 0.544 MB / 377.4 MB, free: 32.27 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.000202/0.1954, allocations: 170.2 kB / 377.6 MB, free: 32.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.1965, allocations: 1.387 MB / 379 MB, free: 31.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1965, allocations: 7.75 kB / 379 MB, free: 31.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000798/0.1973, allocations: 1.459 MB / 380.5 MB, free: 30.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009374/0.1982, allocations: 438.9 kB / 380.9 MB, free: 29.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.2027, allocations: 4.772 MB / 385.7 MB, free: 25.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.2032, allocations: 0.775 MB / 386.4 MB, free: 24.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004752/0.2037, allocations: 229.9 kB / 386.7 MB, free: 24.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/0.2043, allocations: 486.7 kB / 387.1 MB, free: 24.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2043, allocations: 0 / 387.1 MB, free: 24.32 MB / 314.7 MB Notification: Performance of Templates: time 0.03018/0.2345, allocations: 27.65 MB / 414.8 MB, free: 13.16 MB / 330.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.5746914339251816]