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.001008/0.001008, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009335/0.0009335, allocations: 165 kB / 24.56 MB, free: 16 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.9427/0.9427, allocations: 177.2 MB / 205 MB, free: 5.297 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.102e-06/1.102e-06, allocations: 0 / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.302e-05, allocations: 5.266 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01043/0.01044, allocations: 13.35 MB / 286.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1206/0.1311, allocations: 4.42 MB / 290.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.1333, allocations: 98.62 kB / 290.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.1355, allocations: 0.997 MB / 291.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.1383, allocations: 1.322 MB / 293.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.1397, allocations: 0.8862 MB / 294.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003425/0.1431, allocations: 4.123 MB / 298.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.1449, allocations: 1.731 MB / 299.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.1475, allocations: 2.892 MB / 302.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.1494, allocations: 1.903 MB / 304.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006266/0.15, allocations: 0.4934 MB / 305.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009244/0.1509, allocations: 0.7044 MB / 305.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005373/0.1515, allocations: 1.134 MB / 307.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.1526, allocations: 1.417 MB / 308.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.1548, allocations: 3.389 MB / 311.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1548, allocations: 0 / 311.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1548, allocations: 0 / 311.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.337e-05/0.1549, allocations: 0 / 311.9 MB, free: 7.941 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.004991/0.1599, allocations: 4.542 MB / 316.4 MB, free: 3.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1599, allocations: 8.031 kB / 316.4 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.1623, allocations: 1.215 MB / 317.6 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.1642, allocations: 2.28 MB / 319.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.1643, allocations: 229.7 kB / 320.1 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.1646, allocations: 317.8 kB / 320.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.1679, allocations: 2.535 MB / 323 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-05/0.1679, allocations: 4.812 kB / 323 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.1681, allocations: 130.8 kB / 323.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.1682, allocations: 154.3 kB / 323.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.1704, allocations: 1.193 MB / 324.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009579/0.18, allocations: 10.33 MB / 334.8 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.1826, allocations: 2.033 MB / 336.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.1839, allocations: 0.9813 MB / 337.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002912/0.1868, allocations: 2.554 MB / 340.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1869, allocations: 50.39 kB / 340.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 2.225e-06/0.1869, allocations: 3.938 kB / 340.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.005615/0.1925, allocations: 3.276 MB / 343.7 MB, free: 8.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1925, allocations: 68.41 kB / 343.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.1938, allocations: 1.342 MB / 345.1 MB, free: 7.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.1938, allocations: 45.7 kB / 345.1 MB, free: 7.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007195/0.1946, allocations: 1.545 MB / 346.7 MB, free: 5.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.1948, allocations: 470.9 kB / 347.1 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.1951, allocations: 305.1 kB / 347.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1952, allocations: 480.7 kB / 347.9 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.1956, allocations: 235.8 kB / 348.1 MB, free: 4.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/0.1963, allocations: 0.9217 MB / 349.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.1975, allocations: 1.246 MB / 350.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1975, allocations: 4 kB / 350.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001793/0.1993, allocations: 1.475 MB / 351.8 MB, free: 220 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1993, allocations: 12 kB / 351.8 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.1993, allocations: 12 kB / 351.8 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/0.1999, allocations: 268.2 kB / 352.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.2005, allocations: 343.6 kB / 352.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.2039, allocations: 6.757 MB / 359.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.2044, allocations: 63.94 kB / 359.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.963e-05/0.2045, allocations: 71.98 kB / 359.3 MB, free: 8.371 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.0004218/0.2049, allocations: 256.3 kB / 359.5 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.2051, allocations: 206.9 kB / 359.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.2067, allocations: 1.247 MB / 361 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2067, allocations: 12 kB / 361 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2068, allocations: 12 kB / 361 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.2068, allocations: 7.969 kB / 361 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.2106, allocations: 3.392 MB / 364.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.2106, allocations: 192 / 364.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.2109, allocations: 163.8 kB / 364.6 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008144/0.2117, allocations: 421.8 kB / 365 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.2118, allocations: 47.91 kB / 365 MB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005743/0.2176, allocations: 11.64 MB / 376.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2176, allocations: 0 / 376.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.2195, allocations: 1.681 MB / 378.4 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.2199, allocations: 302.7 kB / 378.7 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.22, allocations: 32 kB / 378.7 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.2204, allocations: 55.95 kB / 378.7 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.2205, allocations: 116.7 kB / 378.9 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.2206, allocations: 35.98 kB / 378.9 MB, free: 3.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000728/0.2213, allocations: 0.7635 MB / 379.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2213, allocations: 0 / 379.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001151/0.2225, allocations: 0.539 MB / 380.2 MB, free: 2.672 MB / 330.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.0002441/0.2227, allocations: 170.6 kB / 380.4 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.2242, allocations: 1.493 MB / 381.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2242, allocations: 0 / 381.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.2253, allocations: 1.496 MB / 383.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.2264, allocations: 428.5 kB / 383.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/0.2321, allocations: 4.816 MB / 388.6 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.2326, allocations: 0.7723 MB / 389.4 MB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005732/0.2332, allocations: 318.3 kB / 389.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.2334, allocations: 108.5 kB / 389.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2334, allocations: 4 kB / 389.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of Templates: time 0.03066/0.2641, allocations: 26.66 MB / 416.4 MB, free: 14.62 MB / 378.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.55796030536294]