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.001713/0.001713, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 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.00193/0.00193, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.383/1.383, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] 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.001446/0.001446, allocations: 51.91 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2279, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02651/0.2544, allocations: 26.81 MB / 447.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02949/0.2839, allocations: 22.42 MB / 470.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004461/0.2884, allocations: 178.6 kB / 470.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004523/0.2929, allocations: 1.778 MB / 472 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.3031, allocations: 3.313 MB / 475.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.308, allocations: 1.643 MB / 477 MB, free: 6.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02037/0.3284, allocations: 12.72 MB / 489.7 MB, free: 9.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.3295, allocations: 0.5078 MB / 490.2 MB, free: 9.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.3326, allocations: 2.107 MB / 492.3 MB, free: 7.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.3353, allocations: 2.103 MB / 494.4 MB, free: 5.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.3356, allocations: 132 kB / 494.6 MB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.3399, allocations: 1.537 MB / 496.1 MB, free: 3.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007146/0.3406, allocations: 0.5971 MB / 496.7 MB, free: 2.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003058/0.3436, allocations: 2.624 MB / 499.3 MB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008834/0.3525, allocations: 6.667 MB / 0.4941 GB, free: 9.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3525, allocations: 4 kB / 0.4941 GB, free: 9.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3525, allocations: 8 kB / 0.4941 GB, free: 9.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001286/0.3526, allocations: 0 / 0.4941 GB, free: 9.555 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.009891/0.3625, allocations: 6.93 MB / 0.5009 GB, free: 2.523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3625, allocations: 8.031 kB / 0.5009 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008847/0.3634, allocations: 0.7764 MB / 0.5017 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006916/0.3703, allocations: 4.659 MB / 0.5062 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.3704, allocations: 66 kB / 0.5063 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.3706, allocations: 99.94 kB / 0.5064 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.373, allocations: 1.301 MB / 0.5077 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.373, allocations: 0 / 0.5077 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.3731, allocations: 39.94 kB / 0.5077 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.3732, allocations: 39.97 kB / 0.5077 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.3758, allocations: 1.484 MB / 0.5092 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.3859, allocations: 5.61 MB / 0.5147 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.3876, allocations: 0.8809 MB / 0.5155 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.3893, allocations: 1.059 MB / 0.5166 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2393/0.6285, allocations: 59.81 MB / 0.575 GB, free: 70.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008416/0.6294, allocations: 0.552 MB / 0.5755 GB, free: 70.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.357e-06/0.6294, allocations: 0 / 0.5755 GB, free: 70.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.002767/0.6322, allocations: 1.917 MB / 0.5774 GB, free: 68.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.6322, allocations: 63.97 kB / 0.5774 GB, free: 68.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/0.637, allocations: 5.588 MB / 0.5829 GB, free: 63.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.6371, allocations: 37.7 kB / 0.5829 GB, free: 63.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.6386, allocations: 2.964 MB / 0.5858 GB, free: 60.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.6388, allocations: 317.3 kB / 0.5861 GB, free: 60.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003883/0.6391, allocations: 427 kB / 0.5865 GB, free: 59.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.6392, allocations: 301.1 kB / 0.5868 GB, free: 59.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.6399, allocations: 403.8 kB / 0.5872 GB, free: 58.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008583/0.6407, allocations: 1.092 MB / 0.5883 GB, free: 57.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.6423, allocations: 1.608 MB / 0.5898 GB, free: 55.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.6423, allocations: 9.781 kB / 0.5898 GB, free: 55.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00259/0.6449, allocations: 2.245 MB / 0.592 GB, free: 53.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.6449, allocations: 16 kB / 0.5921 GB, free: 53.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/0.6451, allocations: 160 kB / 0.5922 GB, free: 53.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.6451, allocations: 36 kB / 0.5922 GB, free: 53.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.6462, allocations: 363.1 kB / 0.5926 GB, free: 52.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.509e-05/0.6462, allocations: 43.86 kB / 0.5926 GB, free: 52.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.6477, allocations: 192.4 kB / 0.5928 GB, free: 52.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.6478, allocations: 132 kB / 0.5929 GB, free: 52.59 MB / 446.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.0009219/0.6487, allocations: 0.712 MB / 0.5936 GB, free: 51.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.6491, allocations: 0.753 MB / 0.5944 GB, free: 51.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003368/0.6525, allocations: 2.154 MB / 0.5965 GB, free: 49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.6525, allocations: 8 kB / 0.5965 GB, free: 48.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6525, allocations: 0 / 0.5965 GB, free: 48.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.6525, allocations: 3.984 kB / 0.5965 GB, free: 48.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.6565, allocations: 3.613 MB / 0.6 GB, free: 45.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000136/0.6566, allocations: 140 kB / 0.6001 GB, free: 45.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.6573, allocations: 155.8 kB / 0.6003 GB, free: 45.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6573, allocations: 4 kB / 0.6003 GB, free: 45.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.6574, allocations: 60 kB / 0.6004 GB, free: 44.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6574, allocations: 0 / 0.6004 GB, free: 44.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6574, allocations: 4 kB / 0.6004 GB, free: 44.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.6598, allocations: 2.189 MB / 0.6025 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008973/0.6607, allocations: 0.8646 MB / 0.6033 GB, free: 41.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005183/0.6612, allocations: 16 kB / 0.6034 GB, free: 41.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.6623, allocations: 31.95 kB / 0.6034 GB, free: 41.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.6625, allocations: 97.38 kB / 0.6035 GB, free: 41.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.352e-05/0.6626, allocations: 71.98 kB / 0.6036 GB, free: 41.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003257/0.6658, allocations: 3.608 MB / 0.6071 GB, free: 38.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6658, allocations: 0 / 0.6071 GB, free: 38.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001674/0.6675, allocations: 1.086 MB / 0.6081 GB, free: 37.06 MB / 446.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.001227/0.6687, allocations: 1.179 MB / 0.6093 GB, free: 35.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.6705, allocations: 1.366 MB / 0.6106 GB, free: 34.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6705, allocations: 0 / 0.6106 GB, free: 34.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008291/0.6714, allocations: 0.7356 MB / 0.6113 GB, free: 33.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/0.675, allocations: 1.186 MB / 0.6125 GB, free: 32.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007931/0.6829, allocations: 8.273 MB / 0.6206 GB, free: 24.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.6841, allocations: 2.592 MB / 0.6231 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001763/0.6859, allocations: 0.6846 MB / 0.6238 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.6862, allocations: 287.4 kB / 0.624 GB, free: 20.67 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6862, allocations: 0 / 0.624 GB, free: 20.67 MB / 446.1 MB Notification: Performance of Templates: time 0.09269/0.7789, allocations: 56.21 MB / 0.6789 GB, free: 13.05 MB / 494.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins/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.538694556802511]