Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001512/0.001512, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 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.001693/0.001693, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 51.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2667, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02693/0.2936, allocations: 22.23 MB / 454.6 MB, free: 440 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03295/0.3266, allocations: 19.55 MB / 474.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005639/0.3322, allocations: 269.1 kB / 474.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006037/0.3382, allocations: 1.681 MB / 476.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01259/0.3508, allocations: 3.31 MB / 479.4 MB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005807/0.3566, allocations: 1.593 MB / 481 MB, free: 5.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0235/0.3801, allocations: 12.91 MB / 493.9 MB, free: 8.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.3817, allocations: 0.5082 MB / 494.4 MB, free: 8.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/0.3861, allocations: 2.209 MB / 496.6 MB, free: 6.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004114/0.3902, allocations: 2.107 MB / 498.7 MB, free: 4.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006503/0.3909, allocations: 139.9 kB / 498.8 MB, free: 3.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.3957, allocations: 1.28 MB / 0.4884 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.3971, allocations: 0.6048 MB / 0.489 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003991/0.4011, allocations: 1.936 MB / 0.4909 GB, free: 112 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.4127, allocations: 6.742 MB / 0.4975 GB, free: 9.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4127, allocations: 0 / 0.4975 GB, free: 9.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4127, allocations: 0 / 0.4975 GB, free: 9.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002688/0.413, allocations: 0 / 0.4975 GB, free: 9.336 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.01323/0.4262, allocations: 6.855 MB / 0.5041 GB, free: 2.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4262, allocations: 12.03 kB / 0.5042 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.4275, allocations: 0.7764 MB / 0.5049 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009203/0.4367, allocations: 4.371 MB / 0.5092 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/0.4368, allocations: 66 kB / 0.5093 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/0.4371, allocations: 103.9 kB / 0.5093 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.4396, allocations: 1.313 MB / 0.5106 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.4396, allocations: 3.938 kB / 0.5106 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.4397, allocations: 36 kB / 0.5107 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.4398, allocations: 39.97 kB / 0.5107 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.4425, allocations: 1.484 MB / 0.5122 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.4545, allocations: 5.128 MB / 0.5172 GB, free: 4.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.4565, allocations: 0.8757 MB / 0.518 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.4583, allocations: 1.063 MB / 0.5191 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.268/0.7263, allocations: 27.06 MB / 0.5455 GB, free: 103 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000918/0.7272, allocations: 0.5559 MB / 0.546 GB, free: 102.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 4.038e-06/0.7272, allocations: 0 / 0.546 GB, free: 102.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.002951/0.7302, allocations: 1.918 MB / 0.5479 GB, free: 102.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.7302, allocations: 60.06 kB / 0.548 GB, free: 102.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005835/0.736, allocations: 5.631 MB / 0.5535 GB, free: 96.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.7362, allocations: 37.7 kB / 0.5535 GB, free: 96.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.7381, allocations: 2.964 MB / 0.5564 GB, free: 93.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.7385, allocations: 320 kB / 0.5567 GB, free: 93.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000473/0.739, allocations: 423 kB / 0.5571 GB, free: 93.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.739, allocations: 305.1 kB / 0.5574 GB, free: 92.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007248/0.7397, allocations: 403.8 kB / 0.5578 GB, free: 92.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.7406, allocations: 1.09 MB / 0.5588 GB, free: 91.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.7423, allocations: 1.613 MB / 0.5604 GB, free: 89.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.7424, allocations: 8 kB / 0.5604 GB, free: 89.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003348/0.7457, allocations: 2.232 MB / 0.5626 GB, free: 86.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.7457, allocations: 22.22 kB / 0.5626 GB, free: 86.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/0.7459, allocations: 164 kB / 0.5628 GB, free: 86.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.416e-05/0.746, allocations: 34.72 kB / 0.5628 GB, free: 86.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.7471, allocations: 361.7 kB / 0.5631 GB, free: 86.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/0.7471, allocations: 43.86 kB / 0.5632 GB, free: 86.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.7493, allocations: 190.1 kB / 0.5634 GB, free: 86.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.7495, allocations: 129.1 kB / 0.5635 GB, free: 86.05 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.001247/0.7508, allocations: 0.7065 MB / 0.5642 GB, free: 85.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007507/0.7515, allocations: 0.7645 MB / 0.5649 GB, free: 84.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003658/0.7552, allocations: 2.148 MB / 0.567 GB, free: 82.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.7552, allocations: 8 kB / 0.567 GB, free: 82.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.7552, allocations: 0 / 0.567 GB, free: 82.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.7552, allocations: 5.734 kB / 0.567 GB, free: 82.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.7606, allocations: 3.36 MB / 0.5703 GB, free: 79.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001417/0.7607, allocations: 140 kB / 0.5705 GB, free: 79.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.7614, allocations: 155.7 kB / 0.5706 GB, free: 78.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.7614, allocations: 4 kB / 0.5706 GB, free: 78.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/0.7615, allocations: 59.98 kB / 0.5707 GB, free: 78.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.7615, allocations: 4 kB / 0.5707 GB, free: 78.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7615, allocations: 4.062 kB / 0.5707 GB, free: 78.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.7649, allocations: 2.198 MB / 0.5728 GB, free: 76.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/0.7668, allocations: 0.7744 MB / 0.5736 GB, free: 75.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006856/0.7675, allocations: 19.98 kB / 0.5736 GB, free: 75.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.7687, allocations: 35.91 kB / 0.5736 GB, free: 75.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.7689, allocations: 104.5 kB / 0.5737 GB, free: 75.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.769, allocations: 64 kB / 0.5738 GB, free: 75.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004834/0.7739, allocations: 3.608 MB / 0.5773 GB, free: 72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7739, allocations: 0 / 0.5773 GB, free: 72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002947/0.7768, allocations: 1.09 MB / 0.5784 GB, free: 70.97 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.001677/0.7785, allocations: 1.183 MB / 0.5795 GB, free: 69.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.7806, allocations: 1.362 MB / 0.5809 GB, free: 68.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7806, allocations: 3.828 kB / 0.5809 GB, free: 68.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008671/0.7815, allocations: 0.7407 MB / 0.5816 GB, free: 67.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/0.7869, allocations: 1.172 MB / 0.5827 GB, free: 66.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009908/0.7968, allocations: 8.367 MB / 0.5909 GB, free: 58.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.7983, allocations: 2.109 MB / 0.593 GB, free: 55.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007949/0.7991, allocations: 295.4 kB / 0.5932 GB, free: 55.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.893e-06/0.7991, allocations: 0 / 0.5932 GB, free: 55.66 MB / 446.1 MB Notification: Performance of Templates: time 0.09789/0.897, allocations: 73.74 MB / 0.6653 GB, free: 14.23 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.692202179983724]