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.001843/0.001843, allocations: 103.6 kB / 21.18 MB, free: 332 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.002587/0.002587, allocations: 210.4 kB / 24.47 MB, free: 3.547 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.469/1.469, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001928/0.001928, allocations: 51.92 kB / 347.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2816, allocations: 49.15 MB / 396.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02052/0.3021, allocations: 21.09 MB / 417.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03594/0.338, allocations: 18.64 MB / 436.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006926/0.3449, allocations: 281 kB / 436.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005938/0.3509, allocations: 1.625 MB / 438.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0137/0.3646, allocations: 3.263 MB / 441.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006237/0.3708, allocations: 1.539 MB / 443.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02437/0.3952, allocations: 12.47 MB / 455.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.3968, allocations: 0.4966 MB / 456.2 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003556/0.4003, allocations: 2.002 MB / 458.2 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/0.4029, allocations: 1.971 MB / 460.2 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003856/0.4033, allocations: 132 kB / 460.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/0.4071, allocations: 1.152 MB / 461.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006023/0.4077, allocations: 0.6087 MB / 462.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002118/0.4099, allocations: 1.936 MB / 464 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009139/0.419, allocations: 6.788 MB / 470.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.419, allocations: 0 / 470.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.419, allocations: 0 / 470.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.4191, allocations: 0 / 470.8 MB, free: 8.93 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.01103/0.4302, allocations: 6.898 MB / 477.7 MB, free: 1.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4302, allocations: 11.98 kB / 477.7 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.4313, allocations: 0.7841 MB / 478.5 MB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007058/0.4384, allocations: 4.407 MB / 482.9 MB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.4385, allocations: 73.92 kB / 483 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.4387, allocations: 95.95 kB / 483.1 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.4411, allocations: 1.317 MB / 484.4 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4411, allocations: 0 / 484.4 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.4413, allocations: 36 kB / 484.4 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/0.4413, allocations: 43.91 kB / 484.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.444, allocations: 1.488 MB / 486 MB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009502/0.4535, allocations: 5.14 MB / 491.1 MB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.4553, allocations: 0.8678 MB / 492 MB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.457, allocations: 1.067 MB / 493 MB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05168/0.5087, allocations: 27.11 MB / 0.508 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.5098, allocations: 0.5606 MB / 0.5085 GB, free: 5.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.025e-06/0.5098, allocations: 0 / 0.5085 GB, free: 5.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.003724/0.5135, allocations: 1.915 MB / 0.5104 GB, free: 4.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.5136, allocations: 64.05 kB / 0.5104 GB, free: 3.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007632/0.5212, allocations: 5.667 MB / 0.516 GB, free: 14.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.5213, allocations: 41.7 kB / 0.516 GB, free: 14.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002963/0.5243, allocations: 2.961 MB / 0.5189 GB, free: 11.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.5247, allocations: 313.4 kB / 0.5192 GB, free: 11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005649/0.5252, allocations: 427 kB / 0.5196 GB, free: 10.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5254, allocations: 305.1 kB / 0.5199 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009385/0.5263, allocations: 411.7 kB / 0.5203 GB, free: 9.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.5278, allocations: 1.087 MB / 0.5214 GB, free: 8.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/0.5304, allocations: 1.619 MB / 0.5229 GB, free: 6.508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.5304, allocations: 8 kB / 0.523 GB, free: 6.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004002/0.5344, allocations: 2.245 MB / 0.5251 GB, free: 4.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.5345, allocations: 16 kB / 0.5252 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/0.5347, allocations: 164 kB / 0.5253 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.972e-05/0.5348, allocations: 32 kB / 0.5253 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.536, allocations: 363.8 kB / 0.5257 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.898e-05/0.536, allocations: 47.8 kB / 0.5257 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5378, allocations: 186.7 kB / 0.5259 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.538, allocations: 124 kB / 0.526 GB, free: 3.328 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.001575/0.5396, allocations: 0.7198 MB / 0.5267 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009605/0.5405, allocations: 0.7531 MB / 0.5275 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/0.5453, allocations: 2.167 MB / 0.5296 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.5453, allocations: 11.98 kB / 0.5296 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5453, allocations: 0 / 0.5296 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5453, allocations: 3.938 kB / 0.5296 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/0.5514, allocations: 3.384 MB / 0.5329 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000219/0.5516, allocations: 144 kB / 0.533 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/0.5523, allocations: 155.9 kB / 0.5332 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.5524, allocations: 0 / 0.5332 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.5525, allocations: 63.98 kB / 0.5333 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.5525, allocations: 4 kB / 0.5333 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5525, allocations: 3.938 kB / 0.5333 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.5563, allocations: 2.198 MB / 0.5354 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.5581, allocations: 0.782 MB / 0.5362 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005916/0.5587, allocations: 19.98 kB / 0.5362 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.5599, allocations: 35.97 kB / 0.5362 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.5601, allocations: 104.5 kB / 0.5363 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.5603, allocations: 64 kB / 0.5364 GB, free: 8.609 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00589/0.5662, allocations: 3.633 MB / 0.5399 GB, free: 5.008 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5662, allocations: 0 / 0.5399 GB, free: 5.008 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00243/0.5686, allocations: 1.092 MB / 0.541 GB, free: 3.914 MB / 462.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.001891/0.5705, allocations: 1.193 MB / 0.5422 GB, free: 2.707 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002657/0.5732, allocations: 1.374 MB / 0.5435 GB, free: 1.289 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.5732, allocations: 0 / 0.5435 GB, free: 1.289 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.5744, allocations: 0.732 MB / 0.5442 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/0.5778, allocations: 0.9961 MB / 0.5452 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.5898, allocations: 8.314 MB / 0.5533 GB, free: 7.148 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.592, allocations: 2.111 MB / 0.5554 GB, free: 5.004 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002135/0.5941, allocations: 0.6927 MB / 0.5561 GB, free: 4.309 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.5945, allocations: 287.4 kB / 0.5563 GB, free: 4.027 MB / 478.1 MB Notification: Performance of SimCode: time 1.001e-06/0.5945, allocations: 0 / 0.5563 GB, free: 4.027 MB / 478.1 MB Notification: Performance of Templates: time 0.2795/0.874, allocations: 65.86 MB / 0.6206 GB, free: 103.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins/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: 7.060096329078078]