Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.0009207/0.0009207, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001081/0.001081, allocations: 173.9 kB / 24.92 MB, free: 8.723 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.963/0.963, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 273.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.478e-05, allocations: 5.547 kB / 273.5 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1341/0.1342, allocations: 20.36 MB / 293.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1466, allocations: 6.992 MB / 300.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.1491, allocations: 175.2 kB / 301.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007363/0.1564, allocations: 7.198 MB / 308.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.161, allocations: 2.86 MB / 311.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.1631, allocations: 1.567 MB / 312.7 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005872/0.169, allocations: 9.48 MB / 322.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/0.1802, allocations: 11.3 MB / 333.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007504/0.1877, allocations: 7.059 MB / 340.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005746/0.1934, allocations: 5.139 MB / 345.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002813/0.1962, allocations: 1.352 MB / 347 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004718/0.2009, allocations: 1.71 MB / 348.7 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003951/0.2049, allocations: 2.708 MB / 351.4 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007615/0.2125, allocations: 3.361 MB / 354.8 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.2262, allocations: 8.489 MB / 363.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.2262, allocations: 4 kB / 363.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2262, allocations: 0 / 363.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003866/0.2266, allocations: 0 / 363.3 MB, free: 8.254 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.0186/0.2452, allocations: 9.776 MB / 373.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2452, allocations: 8.031 kB / 373.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01952/0.2647, allocations: 5.881 MB / 378.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006904/0.2716, allocations: 2.966 MB / 381.9 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/0.272, allocations: 0.5578 MB / 382.5 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002274/0.2743, allocations: 0.7382 MB / 383.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.2885, allocations: 6.304 MB / 389.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/0.2887, allocations: 19.88 kB / 389.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/0.2898, allocations: 304 kB / 389.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003691/0.2901, allocations: 496.1 kB / 390.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008797/0.2989, allocations: 3.348 MB / 393.7 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03968/0.3386, allocations: 24.63 MB / 418.3 MB, free: 124 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006629/0.3453, allocations: 4.994 MB / 423.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.3469, allocations: 1.012 MB / 424.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.3472, allocations: 127.1 kB / 424.4 MB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.3472, allocations: 73.78 kB / 424.5 MB, free: 9.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 6.232e-06/0.3472, allocations: 0 / 424.5 MB, free: 9.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01589/0.3631, allocations: 7.589 MB / 432.1 MB, free: 2.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.3632, allocations: 94.67 kB / 432.2 MB, free: 2.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.3651, allocations: 1.813 MB / 434 MB, free: 340 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004714/0.3656, allocations: 93.7 kB / 434.1 MB, free: 240 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1502/0.5158, allocations: 2.857 MB / 436.9 MB, free: 93.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001635/0.5174, allocations: 1.45 MB / 438.4 MB, free: 92.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/0.519, allocations: 0.8833 MB / 439.3 MB, free: 92.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.5191, allocations: 305.2 kB / 439.6 MB, free: 92.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.5205, allocations: 0.6749 MB / 440.2 MB, free: 92.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.5222, allocations: 2.168 MB / 442.4 MB, free: 90.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.5259, allocations: 3.35 MB / 445.8 MB, free: 88.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.322e-05/0.526, allocations: 15.25 kB / 445.8 MB, free: 88.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.0049/0.5309, allocations: 3.403 MB / 449.2 MB, free: 88.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.5309, allocations: 27.41 kB / 449.2 MB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-05/0.5309, allocations: 51.31 kB / 449.3 MB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.5329, allocations: 1.036 MB / 450.3 MB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.5351, allocations: 1.096 MB / 451.4 MB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/0.5401, allocations: 5.641 MB / 457 MB, free: 85.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.5422, allocations: 163.3 kB / 457.2 MB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004281/0.5426, allocations: 190.3 kB / 457.4 MB, free: 85.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001847/0.5444, allocations: 439.9 kB / 457.8 MB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/0.5451, allocations: 339.1 kB / 458.1 MB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.5488, allocations: 2.8 MB / 460.9 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.5488, allocations: 42.97 kB / 461 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.5488, allocations: 7.906 kB / 461 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.5489, allocations: 25.67 kB / 461 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.5597, allocations: 7.4 MB / 468.4 MB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.5598, allocations: 3.938 kB / 468.4 MB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.5613, allocations: 0.6896 MB / 469.1 MB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.5631, allocations: 0.939 MB / 470 MB, free: 83.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/0.5633, allocations: 89.75 kB / 470.1 MB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004586/0.5679, allocations: 5.291 MB / 475.4 MB, free: 79.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5679, allocations: 6.906 kB / 475.4 MB, free: 79.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004743/0.5726, allocations: 3.515 MB / 478.9 MB, free: 76.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.5738, allocations: 479.5 kB / 479.4 MB, free: 76.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/0.5741, allocations: 80 kB / 479.5 MB, free: 75.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/0.575, allocations: 108 kB / 479.6 MB, free: 75.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00045/0.5754, allocations: 314.8 kB / 479.9 MB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.5756, allocations: 87.97 kB / 480 MB, free: 75.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.5766, allocations: 0.8474 MB / 480.8 MB, free: 74.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5766, allocations: 0 / 480.8 MB, free: 74.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003481/0.5801, allocations: 1.387 MB / 482.2 MB, free: 73.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004254/0.5805, allocations: 263.2 kB / 482.5 MB, free: 73.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003851/0.5844, allocations: 3.052 MB / 485.5 MB, free: 70.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.069e-05/0.5844, allocations: 51.73 kB / 485.6 MB, free: 70.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.5864, allocations: 1.816 MB / 487.4 MB, free: 68.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.5884, allocations: 0.7565 MB / 488.1 MB, free: 67.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.6039, allocations: 11.23 MB / 499.4 MB, free: 56.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.6057, allocations: 1.518 MB / 0.4892 GB, free: 55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001843/0.6075, allocations: 0.5865 MB / 0.4897 GB, free: 54.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/0.6089, allocations: 0.7822 MB / 0.4905 GB, free: 53.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6089, allocations: 0 / 0.4905 GB, free: 53.62 MB / 378.7 MB Notification: Performance of Templates: time 0.07222/0.6811, allocations: 60.11 MB / 0.5492 GB, free: 10.41 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/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: 4.382889705244452]