Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 77.14 kB / 21.5 MB, free: 2.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 145 kB / 24.89 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8456/0.8456, allocations: 173.4 MB / 201.5 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.403e-05, allocations: 6.594 kB / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009351/0.009365, allocations: 12.32 MB / 280.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006775/0.01614, allocations: 4.32 MB / 285.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.01714, allocations: 95.44 kB / 285.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.01873, allocations: 1.002 MB / 286.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.02072, allocations: 1.355 MB / 287.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.02176, allocations: 0.8317 MB / 288.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.02457, allocations: 4.065 MB / 292.5 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.02606, allocations: 1.773 MB / 294.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.02836, allocations: 2.877 MB / 297.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.02995, allocations: 1.906 MB / 299 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004085/0.03036, allocations: 0.4922 MB / 299.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007264/0.03108, allocations: 0.687 MB / 300.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006144/0.0317, allocations: 1.133 MB / 301.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009933/0.03269, allocations: 1.407 MB / 302.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.03516, allocations: 3.353 MB / 306.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.03517, allocations: 3.938 kB / 306.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.03517, allocations: 0 / 306.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.0352, allocations: 4 kB / 306.1 MB, free: 3.941 MB / 282.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.004576/0.03978, allocations: 4.139 MB / 310.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.03981, allocations: 12.03 kB / 310.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.04209, allocations: 1.097 MB / 311.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.04387, allocations: 1.427 MB / 312.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.04399, allocations: 238.6 kB / 313 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.04429, allocations: 316.3 kB / 313.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.0467, allocations: 2.376 MB / 315.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.771e-05/0.04674, allocations: 3.953 kB / 315.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.04694, allocations: 132 kB / 315.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.04704, allocations: 150.2 kB / 316 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.04841, allocations: 0.9262 MB / 316.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007941/0.05635, allocations: 8.058 MB / 325 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.05833, allocations: 1.679 MB / 326.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.05894, allocations: 0.5622 MB / 327.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002338/0.06128, allocations: 1.795 MB / 329 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.06131, allocations: 47.56 kB / 329.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 1.963e-06/0.06131, allocations: 0 / 329.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.003386/0.0647, allocations: 2.387 MB / 331.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.06473, allocations: 68.34 kB / 331.5 MB, free: 9.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007434/0.06547, allocations: 1.083 MB / 332.6 MB, free: 8.852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.06552, allocations: 49.7 kB / 332.6 MB, free: 8.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.06599, allocations: 1.24 MB / 333.9 MB, free: 7.543 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.06621, allocations: 456 kB / 334.3 MB, free: 7.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.06646, allocations: 275.3 kB / 334.6 MB, free: 6.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.06653, allocations: 309.1 kB / 334.9 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.06676, allocations: 174.8 kB / 335.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.06717, allocations: 0.6465 MB / 335.7 MB, free: 5.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.06791, allocations: 0.9581 MB / 336.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.06791, allocations: 4 kB / 336.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001086/0.069, allocations: 1.035 MB / 337.7 MB, free: 3.266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.06901, allocations: 12.28 kB / 337.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.06903, allocations: 20 kB / 337.7 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/0.06941, allocations: 205.6 kB / 337.9 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.07004, allocations: 339.5 kB / 338.3 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.07243, allocations: 4.616 MB / 342.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.07283, allocations: 59.94 kB / 343 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.07289, allocations: 52 kB / 343 MB, free: 13.7 MB / 330.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 (180): * Single equations (assignments): 176 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003497/0.07324, allocations: 216.3 kB / 343.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.07339, allocations: 139.8 kB / 343.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.07448, allocations: 0.9145 MB / 344.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.07449, allocations: 12 kB / 344.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.0745, allocations: 11.94 kB / 344.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.07451, allocations: 7.969 kB / 344.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.0768, allocations: 2.043 MB / 346.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.0768, allocations: 0 / 346.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.07715, allocations: 151.8 kB / 346.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006028/0.07775, allocations: 355.9 kB / 346.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.0778, allocations: 31.98 kB / 346.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00419/0.082, allocations: 8.137 MB / 355 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.082, allocations: 0 / 355 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1211/0.2031, allocations: 1.234 MB / 356.2 MB, free: 69.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.2037, allocations: 180 kB / 356.4 MB, free: 69.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.2039, allocations: 31.83 kB / 356.4 MB, free: 69.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.2043, allocations: 52.03 kB / 356.5 MB, free: 69.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.2045, allocations: 100.1 kB / 356.6 MB, free: 69.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.2046, allocations: 30.36 kB / 356.6 MB, free: 69.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005458/0.2051, allocations: 0.5274 MB / 357.2 MB, free: 69.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2051, allocations: 1.125 kB / 357.2 MB, free: 69.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001429/0.2065, allocations: 0.5297 MB / 357.7 MB, free: 69.64 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 (86): * Single equations (assignments): 81 * 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,5,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.0002364/0.2068, allocations: 142.8 kB / 357.8 MB, free: 69.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.208, allocations: 1.123 MB / 358.9 MB, free: 69.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.231e-05/0.208, allocations: 21.75 kB / 359 MB, free: 69.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009182/0.2089, allocations: 1.107 MB / 360.1 MB, free: 68.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.2098, allocations: 423.3 kB / 360.5 MB, free: 68.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.2148, allocations: 4.596 MB / 365.1 MB, free: 66.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.2153, allocations: 0.6166 MB / 365.7 MB, free: 66.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005316/0.2159, allocations: 227.3 kB / 365.9 MB, free: 66.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.2164, allocations: 417.8 kB / 366.3 MB, free: 66.46 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2165, allocations: 3.625 kB / 366.3 MB, free: 66.46 MB / 330.7 MB Notification: Performance of Templates: time 0.02983/0.2463, allocations: 26.41 MB / 392.7 MB, free: 48.53 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.337825089227408]