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.001421/0.001421, 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.001347/0.001347, allocations: 161 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.9277/0.9277, allocations: 177.1 MB / 205 MB, free: 5.602 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.203e-06/1.203e-06, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.843e-05, allocations: 2.312 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01139/0.0114, allocations: 13.36 MB / 286.4 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1251/0.1365, allocations: 4.423 MB / 290.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.139, allocations: 98.5 kB / 290.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.1413, allocations: 0.9903 MB / 291.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.1442, allocations: 1.324 MB / 293.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.1456, allocations: 0.8832 MB / 294.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003789/0.1493, allocations: 4.115 MB / 298.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.1514, allocations: 1.736 MB / 299.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.1548, allocations: 2.795 MB / 302.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.1571, allocations: 1.936 MB / 304.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008481/0.158, allocations: 0.5018 MB / 305.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.1591, allocations: 0.7056 MB / 305.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005495/0.1597, allocations: 1.152 MB / 307 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.1608, allocations: 1.424 MB / 308.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.1634, allocations: 3.408 MB / 311.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1634, allocations: 3.188 kB / 311.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1634, allocations: 0 / 311.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.546e-05/0.1634, allocations: 0 / 311.8 MB, free: 7.852 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.004638/0.1681, allocations: 4.563 MB / 316.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1681, allocations: 8.031 kB / 316.4 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.1704, allocations: 1.216 MB / 317.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.1724, allocations: 2.266 MB / 319.9 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.018e-05/0.1725, allocations: 232.3 kB / 320.1 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.1728, allocations: 316.8 kB / 320.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00325/0.176, allocations: 2.537 MB / 323 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/0.1761, allocations: 4 kB / 323 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.1762, allocations: 124 kB / 323.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.1764, allocations: 154.2 kB / 323.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.1786, allocations: 1.202 MB / 324.4 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.1897, allocations: 10.37 MB / 334.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.1923, allocations: 2.012 MB / 336.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.1937, allocations: 0.9847 MB / 337.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003196/0.1969, allocations: 2.569 MB / 340.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1969, allocations: 54.38 kB / 340.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 2.705e-06/0.1969, allocations: 0 / 340.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.005281/0.2022, allocations: 3.286 MB / 343.7 MB, free: 8.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2022, allocations: 72.39 kB / 343.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.2035, allocations: 1.345 MB / 345.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.2035, allocations: 49.7 kB / 345.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.2042, allocations: 1.54 MB / 346.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.2044, allocations: 472.3 kB / 347.2 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.2047, allocations: 301.1 kB / 347.5 MB, free: 4.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.2048, allocations: 484.7 kB / 348 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.2052, allocations: 235.8 kB / 348.2 MB, free: 4.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009435/0.2062, allocations: 0.9173 MB / 349.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.2073, allocations: 1.258 MB / 350.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2073, allocations: 4 kB / 350.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001799/0.2091, allocations: 1.462 MB / 351.8 MB, free: 108 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2092, allocations: 12 kB / 351.8 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.2092, allocations: 16 kB / 351.9 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.2097, allocations: 258.8 kB / 352.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/0.2104, allocations: 346.6 kB / 352.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.2144, allocations: 6.776 MB / 359.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.2151, allocations: 72.11 kB / 359.3 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.2152, allocations: 67.98 kB / 359.4 MB, free: 8.258 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.000704/0.2159, allocations: 252.1 kB / 359.6 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.2161, allocations: 206.9 kB / 359.8 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.2179, allocations: 1.251 MB / 361.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2179, allocations: 16 kB / 361.1 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.2179, allocations: 4 kB / 361.1 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2179, allocations: 3.984 kB / 361.1 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/0.2226, allocations: 3.416 MB / 364.5 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.2226, allocations: 0 / 364.5 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.223, allocations: 159.8 kB / 364.7 MB, free: 2.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008702/0.2239, allocations: 428.6 kB / 365.1 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.224, allocations: 35.98 kB / 365.1 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006525/0.2305, allocations: 11.65 MB / 376.8 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2305, allocations: 0 / 376.8 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.233, allocations: 1.684 MB / 378.4 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.2335, allocations: 314.8 kB / 378.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.2336, allocations: 28 kB / 378.8 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.234, allocations: 59.95 kB / 378.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.2342, allocations: 108.7 kB / 378.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.2342, allocations: 39.98 kB / 379 MB, free: 3.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000833/0.2351, allocations: 0.7674 MB / 379.7 MB, free: 3.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2351, allocations: 0 / 379.7 MB, free: 3.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001444/0.2365, allocations: 0.5391 MB / 380.3 MB, free: 2.527 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.000271/0.2368, allocations: 166.9 kB / 380.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.2384, allocations: 1.497 MB / 381.9 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2384, allocations: 0 / 381.9 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.2398, allocations: 1.505 MB / 383.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.2409, allocations: 439.8 kB / 383.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/0.247, allocations: 4.81 MB / 388.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.2476, allocations: 0.7801 MB / 389.5 MB, free: 9.113 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006006/0.2482, allocations: 310.3 kB / 389.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.2485, allocations: 112.5 kB / 389.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2485, allocations: 0 / 389.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of Templates: time 0.03638/0.2848, allocations: 25.7 MB / 415.6 MB, free: 15.42 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.5989321656525135]