Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001939/0.001939, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002072/0.002072, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 44.94 MB / 359.6 MB, free: 6.082 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002148/0.002148, allocations: 75.88 kB / 0.4939 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3459, allocations: 65.47 MB / 0.5578 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003753/0.3496, allocations: 1.982 MB / 0.5597 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.3517, allocations: 1.057 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3519, allocations: 3.938 kB / 0.5608 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.3522, allocations: 43.72 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.3526, allocations: 119.4 kB / 0.5609 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.3528, allocations: 103.6 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.3531, allocations: 215.4 kB / 0.5612 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3533, allocations: 19.64 kB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3534, allocations: 87.62 kB / 0.5613 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.3535, allocations: 87.55 kB / 0.5614 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.3536, allocations: 12 kB / 0.5614 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3537, allocations: 51.98 kB / 0.5615 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.3538, allocations: 39.83 kB / 0.5615 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.3539, allocations: 55.67 kB / 0.5616 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.3542, allocations: 207.1 kB / 0.5617 GB, free: 3.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3542, allocations: 0 / 0.5617 GB, free: 3.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3542, allocations: 0 / 0.5617 GB, free: 3.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3542, allocations: 0 / 0.5617 GB, free: 3.453 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009875/0.3552, allocations: 0.5004 MB / 0.5622 GB, free: 2.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3552, allocations: 8.031 kB / 0.5622 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.315e-05/0.3553, allocations: 4.188 kB / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.3553, allocations: 34.75 kB / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.3554, allocations: 20.84 kB / 0.5623 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.3557, allocations: 190 kB / 0.5625 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3558, allocations: 8.125 kB / 0.5625 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3558, allocations: 16 kB / 0.5625 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.3563, allocations: 173.8 kB / 0.5627 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3563, allocations: 0 / 0.5627 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.3563, allocations: 4 kB / 0.5627 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3563, allocations: 3.938 kB / 0.5627 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.3568, allocations: 115.8 kB / 0.5628 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/0.3576, allocations: 0.5078 MB / 0.5633 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.3583, allocations: 154.6 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.3585, allocations: 80.67 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3586, allocations: 4 kB / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.359, allocations: 160.9 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.359, allocations: 0 / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009316/0.3599, allocations: 269.3 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.36, allocations: 59.34 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.3602, allocations: 236.1 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3603, allocations: 33.7 kB / 0.5642 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.3603, allocations: 124.4 kB / 0.5644 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.3604, allocations: 39.69 kB / 0.5644 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.3605, allocations: 33.7 kB / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3606, allocations: 334.8 kB / 0.5647 GB, free: 148 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.3609, allocations: 97.64 kB / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.3612, allocations: 133.9 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.3617, allocations: 193.8 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3617, allocations: 0 / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006924/0.3624, allocations: 296.8 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.3624, allocations: 32.05 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3625, allocations: 4 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.3625, allocations: 3.938 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.3627, allocations: 31.97 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3627, allocations: 11.92 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3629, allocations: 27.94 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.3629, allocations: 11.98 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001789/0.3631, allocations: 137.8 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3631, allocations: 15.91 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006872/0.3638, allocations: 225.9 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3638, allocations: 4 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3638, allocations: 0 / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3638, allocations: 0 / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.3641, allocations: 192.6 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3641, allocations: 4 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.3642, allocations: 27.97 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3642, allocations: 7.938 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3643, allocations: 3.938 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3643, allocations: 0 / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3643, allocations: 0 / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.3652, allocations: 312.8 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.3652, allocations: 23.88 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.3653, allocations: 7.938 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3654, allocations: 19.97 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.3655, allocations: 27.91 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.3655, allocations: 8 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3657, allocations: 169.8 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3657, allocations: 4.062 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.366, allocations: 43.92 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00292/0.3689, allocations: 1.18 MB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007639/0.3697, allocations: 252.1 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.3697, allocations: 3.938 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.3699, allocations: 76.12 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.3704, allocations: 57.23 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.3746, allocations: 2.309 MB / 0.5705 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.3748, allocations: 116.1 kB / 0.5706 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.375, allocations: 17.48 kB / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3751, allocations: 63.41 kB / 0.5707 GB, free: 9.887 MB / 414.1 MB Notification: Performance of SimCode: time 2.364e-06/0.3751, allocations: 0 / 0.5707 GB, free: 9.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/0.4149, allocations: 5.526 MB / 0.5761 GB, free: 4.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.92, allocations: 14.41 kB / 0.5761 GB, free: 4.434 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.018574962043203] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 12.143322668969631 12.166076667 11.807595441 Calling exit ...