Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.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.001341/0.001341, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 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.001659/0.001659, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 54.89 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2613, allocations: 49.17 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02297/0.2842, allocations: 25.45 MB / 423.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03252/0.3168, allocations: 21.4 MB / 444.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007183/0.3239, allocations: 276.9 kB / 444.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006173/0.3301, allocations: 1.738 MB / 446.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.3439, allocations: 3.274 MB / 449.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006871/0.3508, allocations: 1.585 MB / 451.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02353/0.3743, allocations: 12.48 MB / 463.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.3764, allocations: 0.5122 MB / 464.3 MB, free: 408 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.3805, allocations: 1.999 MB / 466.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/0.3842, allocations: 2.053 MB / 468.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007296/0.3849, allocations: 136 kB / 468.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006026/0.391, allocations: 1.226 MB / 469.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.3921, allocations: 0.601 MB / 470.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004791/0.3968, allocations: 2.643 MB / 473 MB, free: 7.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.4103, allocations: 6.706 MB / 479.7 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4103, allocations: 0 / 479.7 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4103, allocations: 0 / 479.7 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002531/0.4105, allocations: 0 / 479.7 MB, free: 0.9609 MB / 382.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.01298/0.4235, allocations: 6.906 MB / 486.6 MB, free: 9.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4236, allocations: 11.98 kB / 486.6 MB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.4248, allocations: 0.7841 MB / 487.4 MB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008722/0.4335, allocations: 4.407 MB / 491.8 MB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.4336, allocations: 66 kB / 491.9 MB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.4339, allocations: 103.9 kB / 492 MB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.4364, allocations: 1.309 MB / 493.3 MB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.4364, allocations: 0 / 493.3 MB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.4365, allocations: 36 kB / 493.3 MB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-05/0.4366, allocations: 43.91 kB / 493.3 MB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.4393, allocations: 1.496 MB / 494.8 MB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.4509, allocations: 5.577 MB / 0.4887 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.4528, allocations: 0.8835 MB / 0.4895 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.4545, allocations: 1.059 MB / 0.4906 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05344/0.5079, allocations: 27.22 MB / 0.5172 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.509, allocations: 0.5567 MB / 0.5177 GB, free: 13.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.817e-06/0.509, allocations: 0 / 0.5177 GB, free: 13.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.00393/0.513, allocations: 1.919 MB / 0.5196 GB, free: 11.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.513, allocations: 60.06 kB / 0.5196 GB, free: 11.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008497/0.5215, allocations: 5.636 MB / 0.5251 GB, free: 5.824 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.5217, allocations: 37.7 kB / 0.5252 GB, free: 5.781 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00315/0.5249, allocations: 2.961 MB / 0.5281 GB, free: 2.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/0.5253, allocations: 317.4 kB / 0.5284 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000582/0.5259, allocations: 423 kB / 0.5288 GB, free: 2.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5261, allocations: 309.1 kB / 0.5291 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/0.527, allocations: 403.8 kB / 0.5295 GB, free: 1.379 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.5284, allocations: 1.087 MB / 0.5305 GB, free: 15.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002564/0.531, allocations: 1.607 MB / 0.5321 GB, free: 14.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.531, allocations: 11.94 kB / 0.5321 GB, free: 14.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00412/0.5351, allocations: 2.25 MB / 0.5343 GB, free: 11.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.5351, allocations: 16 kB / 0.5343 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002259/0.5353, allocations: 164.1 kB / 0.5345 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-05/0.5354, allocations: 36 kB / 0.5345 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.5366, allocations: 355.4 kB / 0.5348 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.571e-05/0.5366, allocations: 47.8 kB / 0.5349 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.5385, allocations: 198.6 kB / 0.5351 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.5386, allocations: 124 kB / 0.5352 GB, free: 10.83 MB / 462.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.001405/0.5401, allocations: 0.7082 MB / 0.5359 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/0.5412, allocations: 0.757 MB / 0.5366 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004718/0.5459, allocations: 2.175 MB / 0.5387 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5459, allocations: 8 kB / 0.5388 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5459, allocations: 4 kB / 0.5388 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5459, allocations: 7.922 kB / 0.5388 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006494/0.5524, allocations: 3.596 MB / 0.5423 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002109/0.5526, allocations: 140 kB / 0.5424 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/0.5534, allocations: 147.8 kB / 0.5425 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.5534, allocations: 8.062 kB / 0.5426 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.5536, allocations: 63.94 kB / 0.5426 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.686e-05/0.5536, allocations: 7.984 kB / 0.5426 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5536, allocations: 3.938 kB / 0.5426 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.5573, allocations: 2.19 MB / 0.5448 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/0.5592, allocations: 0.782 MB / 0.5455 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000648/0.5599, allocations: 23.88 kB / 0.5456 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.561, allocations: 39.95 kB / 0.5456 GB, free: 44 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.5612, allocations: 104.5 kB / 0.5457 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.5614, allocations: 68.09 kB / 0.5458 GB, free: 15.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005949/0.5673, allocations: 3.633 MB / 0.5493 GB, free: 12.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5673, allocations: 0 / 0.5493 GB, free: 12.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002785/0.5701, allocations: 1.096 MB / 0.5504 GB, free: 11.17 MB / 478.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.001951/0.5721, allocations: 1.19 MB / 0.5515 GB, free: 9.973 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.5747, allocations: 1.37 MB / 0.5529 GB, free: 8.555 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.5747, allocations: 0 / 0.5529 GB, free: 8.555 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.576, allocations: 0.7326 MB / 0.5536 GB, free: 7.777 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003822/0.5798, allocations: 0.988 MB / 0.5546 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1894/0.7692, allocations: 8.411 MB / 0.5628 GB, free: 150 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/0.7718, allocations: 2.601 MB / 0.5653 GB, free: 149.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009118/0.7727, allocations: 296.9 kB / 0.5656 GB, free: 149.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7727, allocations: 3.844 kB / 0.5656 GB, free: 149.2 MB / 478.1 MB Notification: Performance of Templates: time 0.09334/0.8661, allocations: 71.32 MB / 0.6352 GB, free: 91.28 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.77113190991804]