Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.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.001603/0.001603, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 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.001604/0.001604, allocations: 159.1 kB / 24.48 MB, free: 3.465 MB / 14.72 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 1.405/1.405, allocations: 173.4 MB / 201.1 MB, free: 12.57 MB / 190.1 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.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 47.06 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.08377, allocations: 52.17 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02319/0.107, allocations: 22.23 MB / 393.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02734/0.1343, allocations: 19.53 MB / 413.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/0.138, allocations: 265.1 kB / 413.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004029/0.1421, allocations: 1.676 MB / 415.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009432/0.1515, allocations: 3.315 MB / 418.6 MB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004665/0.1562, allocations: 1.598 MB / 420.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02038/0.1765, allocations: 12.79 MB / 433 MB, free: 9.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.1777, allocations: 0.4926 MB / 433.5 MB, free: 9.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.1811, allocations: 2.197 MB / 435.7 MB, free: 6.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/0.1841, allocations: 2.021 MB / 437.7 MB, free: 4.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004278/0.1846, allocations: 139.9 kB / 437.8 MB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.1882, allocations: 1.253 MB / 439.1 MB, free: 3.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006481/0.1888, allocations: 0.601 MB / 439.7 MB, free: 2.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002222/0.191, allocations: 1.925 MB / 441.6 MB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007967/0.199, allocations: 6.745 MB / 448.3 MB, free: 10.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.199, allocations: 4 kB / 448.3 MB, free: 10.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.199, allocations: 0 / 448.3 MB, free: 10.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.1991, allocations: 0 / 448.3 MB, free: 10.22 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.009889/0.209, allocations: 6.847 MB / 455.2 MB, free: 3.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2091, allocations: 8.922 kB / 455.2 MB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.2099, allocations: 0.7802 MB / 456 MB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006859/0.2168, allocations: 4.371 MB / 460.3 MB, free: 14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/0.2168, allocations: 66 kB / 460.4 MB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.2171, allocations: 103.9 kB / 460.5 MB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.2194, allocations: 1.309 MB / 461.8 MB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.2194, allocations: 4 kB / 461.8 MB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.2196, allocations: 35.98 kB / 461.9 MB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.2196, allocations: 35.98 kB / 461.9 MB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/0.2224, allocations: 1.488 MB / 463.4 MB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009407/0.2318, allocations: 5.12 MB / 468.5 MB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.2336, allocations: 0.8797 MB / 469.4 MB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.2353, allocations: 1.056 MB / 470.4 MB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.199/0.4343, allocations: 27 MB / 497.4 MB, free: 80.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008398/0.4351, allocations: 0.5582 MB / 498 MB, free: 80.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.635e-06/0.4351, allocations: 0 / 498 MB, free: 80.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.002617/0.4378, allocations: 1.91 MB / 499.9 MB, free: 78.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.4378, allocations: 68.06 kB / 500 MB, free: 78.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004563/0.4423, allocations: 5.625 MB / 0.4938 GB, free: 73.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.4424, allocations: 41.7 kB / 0.4938 GB, free: 73.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.444, allocations: 2.964 MB / 0.4967 GB, free: 70.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.4442, allocations: 316.8 kB / 0.497 GB, free: 69.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.4445, allocations: 424.8 kB / 0.4974 GB, free: 69.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.164e-05/0.4446, allocations: 301.1 kB / 0.4977 GB, free: 69.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.4453, allocations: 404.9 kB / 0.4981 GB, free: 68.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.4462, allocations: 1.087 MB / 0.4991 GB, free: 67.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.4479, allocations: 1.61 MB / 0.5007 GB, free: 65.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.4479, allocations: 4 kB / 0.5007 GB, free: 65.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002645/0.4505, allocations: 2.242 MB / 0.5029 GB, free: 63.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4505, allocations: 16 kB / 0.5029 GB, free: 63.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/0.4507, allocations: 164 kB / 0.5031 GB, free: 63.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.4507, allocations: 32 kB / 0.5031 GB, free: 63.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.4518, allocations: 361.3 kB / 0.5034 GB, free: 62.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/0.4518, allocations: 55.78 kB / 0.5035 GB, free: 62.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.4533, allocations: 204.6 kB / 0.5037 GB, free: 62.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.4535, allocations: 120 kB / 0.5038 GB, free: 62.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008804/0.4543, allocations: 0.7064 MB / 0.5045 GB, free: 61.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/0.4548, allocations: 0.7531 MB / 0.5052 GB, free: 60.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.4583, allocations: 2.153 MB / 0.5073 GB, free: 58.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4583, allocations: 8 kB / 0.5073 GB, free: 58.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4583, allocations: 0 / 0.5073 GB, free: 58.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4583, allocations: 7.984 kB / 0.5073 GB, free: 58.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/0.4624, allocations: 3.364 MB / 0.5106 GB, free: 55.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001513/0.4625, allocations: 140 kB / 0.5108 GB, free: 55.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.4632, allocations: 147.9 kB / 0.5109 GB, free: 55.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4632, allocations: 7.984 kB / 0.5109 GB, free: 55.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.521e-05/0.4633, allocations: 56 kB / 0.511 GB, free: 55.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4633, allocations: 4 kB / 0.511 GB, free: 55.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4633, allocations: 0 / 0.511 GB, free: 55.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.466, allocations: 2.201 MB / 0.5131 GB, free: 52.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.467, allocations: 0.7837 MB / 0.5139 GB, free: 52.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/0.4675, allocations: 12 kB / 0.5139 GB, free: 52.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.4686, allocations: 35.95 kB / 0.5139 GB, free: 52.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.4687, allocations: 96.56 kB / 0.514 GB, free: 51.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.4688, allocations: 75.98 kB / 0.5141 GB, free: 51.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003325/0.4722, allocations: 3.608 MB / 0.5176 GB, free: 48.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4722, allocations: 0 / 0.5176 GB, free: 48.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001772/0.4739, allocations: 1.083 MB / 0.5187 GB, free: 47.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.4751, allocations: 1.185 MB / 0.5198 GB, free: 46.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.477, allocations: 1.366 MB / 0.5212 GB, free: 44.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.477, allocations: 0 / 0.5212 GB, free: 44.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.4779, allocations: 0.7321 MB / 0.5219 GB, free: 43.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/0.4819, allocations: 1.175 MB / 0.523 GB, free: 42.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007312/0.4892, allocations: 8.257 MB / 0.5311 GB, free: 34.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.4905, allocations: 2.102 MB / 0.5331 GB, free: 32.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001505/0.492, allocations: 0.6846 MB / 0.5338 GB, free: 31.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.4923, allocations: 288.5 kB / 0.5341 GB, free: 31.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4923, allocations: 0 / 0.5341 GB, free: 31.43 MB / 430.1 MB Notification: Performance of Templates: time 0.08657/0.5788, allocations: 57.83 MB / 0.5906 GB, free: 6.48 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.601164357038215]