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.001429/0.001429, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.001684/0.001684, allocations: 163.8 kB / 24.99 MB, free: 8.789 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.9304/0.9304, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.393e-06/1.393e-06, allocations: 0 / 273.1 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.002e-05, allocations: 2.312 kB / 273.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1294/0.1294, allocations: 21.11 MB / 294.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.1399, allocations: 6.688 MB / 300.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.1424, allocations: 171.7 kB / 301.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007799/0.1502, allocations: 7.286 MB / 308.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006267/0.1565, allocations: 2.87 MB / 311.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.159, allocations: 1.575 MB / 312.8 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006988/0.166, allocations: 9.463 MB / 322.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.1787, allocations: 10.95 MB / 333.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007852/0.1865, allocations: 7.036 MB / 340.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00564/0.1922, allocations: 4.912 MB / 345.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002476/0.1947, allocations: 1.355 MB / 346.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.1977, allocations: 1.691 MB / 348.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.1998, allocations: 2.716 MB / 350.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003964/0.2038, allocations: 3.365 MB / 354.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008251/0.2121, allocations: 8.501 MB / 362.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2121, allocations: 0 / 362.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2121, allocations: 4 kB / 362.8 MB, free: 9.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001881/0.2123, allocations: 4 kB / 362.8 MB, free: 9.051 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.01678/0.229, allocations: 11.25 MB / 374 MB, free: 13.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2291, allocations: 12.03 kB / 374 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02155/0.2506, allocations: 7.292 MB / 381.3 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008774/0.2594, allocations: 5.526 MB / 386.9 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/0.2598, allocations: 0.5617 MB / 387.4 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.2619, allocations: 0.7265 MB / 388.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.2755, allocations: 6.754 MB / 394.9 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001457/0.2756, allocations: 15.94 kB / 394.9 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006115/0.2762, allocations: 308 kB / 395.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003384/0.2766, allocations: 492.1 kB / 395.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009215/0.2858, allocations: 4.022 MB / 399.7 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03777/0.3236, allocations: 32.71 MB / 432.4 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1252/0.4488, allocations: 7.026 MB / 439.5 MB, free: 111.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.4518, allocations: 1.374 MB / 440.8 MB, free: 111.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/0.4521, allocations: 122 kB / 441 MB, free: 111.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.4522, allocations: 78.55 kB / 441 MB, free: 111.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 6.161e-06/0.4522, allocations: 0 / 441 MB, free: 111.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.02019/0.4723, allocations: 10.13 MB / 451.2 MB, free: 109.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.4724, allocations: 93.42 kB / 451.3 MB, free: 109.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.475, allocations: 2.472 MB / 453.7 MB, free: 109.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002485/0.4753, allocations: 93.22 kB / 453.8 MB, free: 109.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.4765, allocations: 3.334 MB / 457.1 MB, free: 108.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007557/0.4772, allocations: 1.489 MB / 458.6 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009676/0.4782, allocations: 1.041 MB / 459.7 MB, free: 107.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.902e-05/0.4782, allocations: 484.6 kB / 460.2 MB, free: 106.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.4796, allocations: 0.8094 MB / 461 MB, free: 106.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.4817, allocations: 3.197 MB / 464.2 MB, free: 103.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.4857, allocations: 4.459 MB / 468.6 MB, free: 100.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.724e-05/0.4858, allocations: 15.59 kB / 468.6 MB, free: 100.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.007053/0.4928, allocations: 4.643 MB / 473.3 MB, free: 97.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.4928, allocations: 31.8 kB / 473.3 MB, free: 97.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.097e-05/0.4929, allocations: 48 kB / 473.4 MB, free: 97.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/0.4952, allocations: 1.118 MB / 474.5 MB, free: 96.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.4974, allocations: 1.135 MB / 475.6 MB, free: 95.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007025/0.5044, allocations: 7.716 MB / 483.3 MB, free: 88.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.5071, allocations: 256.3 kB / 483.6 MB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007375/0.5078, allocations: 239.2 kB / 483.8 MB, free: 87.84 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.001735/0.5096, allocations: 486.4 kB / 484.3 MB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00077/0.5103, allocations: 477.4 kB / 484.7 MB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/0.5154, allocations: 3.747 MB / 488.5 MB, free: 83.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.5155, allocations: 44 kB / 488.5 MB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.5155, allocations: 15.94 kB / 488.6 MB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.5155, allocations: 23.91 kB / 488.6 MB, free: 83.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/0.5292, allocations: 10.29 MB / 498.9 MB, free: 73.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.5292, allocations: 8 kB / 498.9 MB, free: 73.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.5308, allocations: 0.7489 MB / 499.6 MB, free: 72.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/0.5329, allocations: 1.019 MB / 0.4889 GB, free: 71.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/0.5331, allocations: 95.97 kB / 0.489 GB, free: 71.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006026/0.5391, allocations: 7.24 MB / 0.4961 GB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5391, allocations: 15.92 kB / 0.4961 GB, free: 63.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006454/0.5456, allocations: 4.862 MB / 0.5008 GB, free: 58.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.5469, allocations: 0.7942 MB / 0.5016 GB, free: 57.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.5473, allocations: 87.92 kB / 0.5017 GB, free: 57.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/0.5482, allocations: 195.8 kB / 0.5019 GB, free: 57.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004578/0.5487, allocations: 319.1 kB / 0.5022 GB, free: 57.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.5488, allocations: 135.9 kB / 0.5023 GB, free: 57.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001331/0.5502, allocations: 1.201 MB / 0.5035 GB, free: 55.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5502, allocations: 4 kB / 0.5035 GB, free: 55.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003382/0.5536, allocations: 1.379 MB / 0.5048 GB, free: 54.58 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.0004944/0.554, allocations: 270.2 kB / 0.5051 GB, free: 54.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005261/0.5593, allocations: 3.926 MB / 0.5089 GB, free: 50.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5593, allocations: 0 / 0.5089 GB, free: 50.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.5619, allocations: 2.33 MB / 0.5112 GB, free: 47.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.5642, allocations: 0.7482 MB / 0.5119 GB, free: 47.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.5779, allocations: 11.68 MB / 0.5233 GB, free: 35.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.5794, allocations: 2.092 MB / 0.5254 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00247/0.5819, allocations: 1.339 MB / 0.5267 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006697/0.5826, allocations: 324.4 kB / 0.527 GB, free: 31.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.864e-06/0.5826, allocations: 0 / 0.527 GB, free: 31.58 MB / 378.7 MB Notification: Performance of Templates: time 0.164/0.7466, allocations: 54.99 MB / 0.5807 GB, free: 124.9 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 -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.615571393864229]