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.001936/0.001936, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001924/0.001924, allocations: 171.1 kB / 25.03 MB, free: 8.422 MB / 18.57 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.349/1.349, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 250.4 MB, free: 7.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.256e-05, allocations: 2.312 kB / 250.4 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.03342/0.03345, allocations: 23.95 MB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03537/0.06882, allocations: 20.37 MB / 294.7 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005653/0.07447, allocations: 273 kB / 294.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005667/0.08014, allocations: 1.648 MB / 296.6 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01324/0.09338, allocations: 3.387 MB / 300 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006288/0.09967, allocations: 1.573 MB / 301.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02512/0.1248, allocations: 12.8 MB / 314.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.1266, allocations: 0.4888 MB / 314.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005689/0.1323, allocations: 2.719 MB / 317.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00376/0.1361, allocations: 1.448 MB / 319 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007023/0.1368, allocations: 136 kB / 319.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.1415, allocations: 1.155 MB / 320.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008469/0.1424, allocations: 0.6048 MB / 320.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003928/0.1463, allocations: 1.41 MB / 322.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.1582, allocations: 6.565 MB / 328.9 MB, free: 8.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1583, allocations: 4 kB / 328.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1583, allocations: 0 / 328.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002165/0.1585, allocations: 0 / 328.9 MB, free: 8.973 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01448/0.173, allocations: 7.495 MB / 336.4 MB, free: 1.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.173, allocations: 15.98 kB / 336.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.1744, allocations: 0.8544 MB / 337.2 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009332/0.1837, allocations: 5.015 MB / 342.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.913e-05/0.1838, allocations: 66 kB / 342.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/0.1841, allocations: 95.95 kB / 342.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.1866, allocations: 1.133 MB / 343.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.1866, allocations: 0 / 343.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.1867, allocations: 32 kB / 343.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.1868, allocations: 47.97 kB / 343.6 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.1894, allocations: 1.297 MB / 344.9 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.2028, allocations: 6.284 MB / 351.2 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2045, allocations: 0.7046 MB / 351.9 MB, free: 1.613 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.2062, allocations: 0.9247 MB / 352.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.162/0.3682, allocations: 30.37 MB / 383.2 MB, free: 78.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008314/0.369, allocations: 0.5505 MB / 383.8 MB, free: 78.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 4.388e-06/0.369, allocations: 0 / 383.8 MB, free: 78.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.002888/0.3719, allocations: 1.875 MB / 385.6 MB, free: 76.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.3719, allocations: 64.06 kB / 385.7 MB, free: 76.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006959/0.3789, allocations: 7.561 MB / 393.3 MB, free: 69.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.3791, allocations: 37.7 kB / 393.3 MB, free: 68.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002017/0.3811, allocations: 3.502 MB / 396.8 MB, free: 65.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.3813, allocations: 325.5 kB / 397.1 MB, free: 65.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004616/0.3818, allocations: 464 kB / 397.6 MB, free: 64.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.3819, allocations: 480.8 kB / 398 MB, free: 64.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.3825, allocations: 371.8 kB / 398.4 MB, free: 63.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/0.3834, allocations: 1.393 MB / 399.8 MB, free: 62.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.3851, allocations: 1.911 MB / 401.7 MB, free: 59.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.3851, allocations: 11.91 kB / 401.7 MB, free: 59.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002985/0.3881, allocations: 2.278 MB / 404 MB, free: 57.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3881, allocations: 19.59 kB / 404 MB, free: 57.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/0.3883, allocations: 164 kB / 404.2 MB, free: 57.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.603e-05/0.3883, allocations: 34.06 kB / 404.2 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.3894, allocations: 361.7 kB / 404.6 MB, free: 56.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.803e-05/0.3894, allocations: 43.86 kB / 404.6 MB, free: 56.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.3912, allocations: 187.7 kB / 404.8 MB, free: 56.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.3913, allocations: 120 kB / 404.9 MB, free: 56.68 MB / 330.7 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.0012/0.3925, allocations: 0.7687 MB / 405.7 MB, free: 55.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006892/0.3932, allocations: 0.7803 MB / 406.5 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.397, allocations: 2.124 MB / 408.6 MB, free: 53.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.397, allocations: 8 kB / 408.6 MB, free: 53.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.397, allocations: 0 / 408.6 MB, free: 53.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.397, allocations: 3.984 kB / 408.6 MB, free: 53.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/0.4027, allocations: 4.555 MB / 413.1 MB, free: 48.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001519/0.4029, allocations: 140 kB / 413.3 MB, free: 48.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.4036, allocations: 147.8 kB / 413.4 MB, free: 48.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.4036, allocations: 8 kB / 413.4 MB, free: 48.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/0.4036, allocations: 59.98 kB / 413.5 MB, free: 48.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4036, allocations: 4 kB / 413.5 MB, free: 48.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4036, allocations: 0 / 413.5 MB, free: 48.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.4064, allocations: 2.21 MB / 415.7 MB, free: 45.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/0.408, allocations: 0.8212 MB / 416.5 MB, free: 45.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/0.4086, allocations: 23.98 kB / 416.5 MB, free: 45.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.4096, allocations: 23.98 kB / 416.6 MB, free: 45.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.4099, allocations: 100.5 kB / 416.7 MB, free: 44.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.41, allocations: 68 kB / 416.7 MB, free: 44.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.005005/0.415, allocations: 4.203 MB / 420.9 MB, free: 40.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.415, allocations: 0 / 420.9 MB, free: 40.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002511/0.4175, allocations: 1.098 MB / 422 MB, free: 39.66 MB / 330.7 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.001524/0.419, allocations: 1.294 MB / 423.3 MB, free: 38.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.421, allocations: 1.417 MB / 424.7 MB, free: 36.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.421, allocations: 0 / 424.7 MB, free: 36.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008304/0.4218, allocations: 0.7498 MB / 425.5 MB, free: 36.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/0.4252, allocations: 1.036 MB / 426.5 MB, free: 35.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008749/0.4339, allocations: 8.375 MB / 434.9 MB, free: 26.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.4352, allocations: 2.111 MB / 437 MB, free: 24.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00177/0.437, allocations: 0.6927 MB / 437.7 MB, free: 23.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.4373, allocations: 284.5 kB / 438 MB, free: 23.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.4373, allocations: 4 kB / 438 MB, free: 23.56 MB / 330.7 MB Notification: Performance of Templates: time 0.206/0.6433, allocations: 57.9 MB / 495.9 MB, free: 123.7 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 240] 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: 6.62849502498284]