Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001617/0.001617, 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.001958/0.001958, allocations: 212.6 kB / 24.51 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.538/1.538, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2365/0.2365, allocations: 44.94 MB / 359.6 MB, free: 6.043 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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.002076/0.002076, allocations: 59.91 kB / 0.4939 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3783, allocations: 65.48 MB / 0.5578 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00348/0.3817, allocations: 1.705 MB / 0.5595 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.3837, allocations: 0.9715 MB / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.3838, allocations: 0 / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.3841, allocations: 51.75 kB / 0.5605 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.3844, allocations: 99.59 kB / 0.5606 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.3846, allocations: 83.66 kB / 0.5606 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3848, allocations: 107.6 kB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3849, allocations: 5.828 kB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.385, allocations: 43.78 kB / 0.5608 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.3851, allocations: 43.78 kB / 0.5608 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3851, allocations: 4 kB / 0.5608 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3852, allocations: 39.98 kB / 0.5609 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.3853, allocations: 23.91 kB / 0.5609 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.3853, allocations: 35.69 kB / 0.5609 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.3856, allocations: 127.5 kB / 0.561 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3856, allocations: 0 / 0.561 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3856, allocations: 7.938 kB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3856, allocations: 0 / 0.5611 GB, free: 4.16 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005811/0.3862, allocations: 357.4 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3862, allocations: 12.03 kB / 0.5614 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.3862, allocations: 8.188 kB / 0.5614 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.3863, allocations: 30.75 kB / 0.5614 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3863, allocations: 12.89 kB / 0.5615 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.3866, allocations: 163.1 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3866, allocations: 12.06 kB / 0.5616 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.3866, allocations: 4 kB / 0.5616 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3868, allocations: 53.67 kB / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3868, allocations: 0 / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3868, allocations: 0 / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.3868, allocations: 4 kB / 0.5617 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.3869, allocations: 23.98 kB / 0.5617 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.3873, allocations: 263.9 kB / 0.562 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.3875, allocations: 54.62 kB / 0.562 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.3876, allocations: 20.84 kB / 0.562 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3876, allocations: 0 / 0.562 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.3878, allocations: 71.33 kB / 0.5621 GB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3878, allocations: 0 / 0.5621 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006111/0.3884, allocations: 197.3 kB / 0.5623 GB, free: 2.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.3884, allocations: 59.39 kB / 0.5623 GB, free: 2.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.3887, allocations: 242.9 kB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3887, allocations: 29.7 kB / 0.5626 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.3888, allocations: 116 kB / 0.5627 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.3889, allocations: 19.86 kB / 0.5627 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.3889, allocations: 29.7 kB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3891, allocations: 322.8 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.3891, allocations: 27.92 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.3892, allocations: 33.7 kB / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3893, allocations: 65.7 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3893, allocations: 0 / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002071/0.3896, allocations: 105.5 kB / 0.5633 GB, free: 1.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3896, allocations: 4 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3896, allocations: 4 kB / 0.5633 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3896, allocations: 3.984 kB / 0.5633 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.3897, allocations: 16 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3897, allocations: 3.938 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.3897, allocations: 7.938 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3898, allocations: 8.406 kB / 0.5633 GB, free: 1.609 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001198/0.3899, allocations: 133.8 kB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.3899, allocations: 11.91 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.3902, allocations: 131.1 kB / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3902, allocations: 0 / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.3902, allocations: 7.938 kB / 0.5636 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3902, allocations: 7.984 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.3907, allocations: 366.4 kB / 0.564 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3907, allocations: 0 / 0.564 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.3908, allocations: 16.3 kB / 0.564 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3908, allocations: 7.938 kB / 0.564 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3908, allocations: 0 / 0.564 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3908, allocations: 3.938 kB / 0.564 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3908, allocations: 4 kB / 0.564 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3911, allocations: 216.2 kB / 0.5642 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.3911, allocations: 15.84 kB / 0.5642 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3911, allocations: 3.984 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.3912, allocations: 8 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.3912, allocations: 7.984 kB / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3912, allocations: 4 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3914, allocations: 179.2 kB / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3914, allocations: 3.938 kB / 0.5644 GB, free: 420 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3917, allocations: 24 kB / 0.5644 GB, free: 396 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002367/0.394, allocations: 1.139 MB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.3943, allocations: 67.84 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3943, allocations: 0 / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.3943, allocations: 20 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3947, allocations: 35.97 kB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.3969, allocations: 1.774 MB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.3971, allocations: 96.69 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.3971, allocations: 16.95 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.3972, allocations: 43.42 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3972, allocations: 0 / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.4204, allocations: 3.979 MB / 0.5714 GB, free: 9.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.7, allocations: 12.94 kB / 0.5714 GB, free: 9.363 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.893111126031727] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.912626932025887 11.928662496 11.539887369 Calling exit ...