Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001755/0.001755, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002221/0.002221, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.267/0.267, allocations: 44.93 MB / 359.6 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 179] 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.001954/0.001954, allocations: 67.88 kB / 0.4939 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.42, allocations: 65.48 MB / 0.5578 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004038/0.424, allocations: 1.709 MB / 0.5595 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.4261, allocations: 0.9637 MB / 0.5604 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4263, allocations: 3.938 kB / 0.5604 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.4267, allocations: 47.81 kB / 0.5605 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.4271, allocations: 99.55 kB / 0.5606 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.4273, allocations: 79.67 kB / 0.5606 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.4275, allocations: 107.7 kB / 0.5607 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.4277, allocations: 5.828 kB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-05/0.4278, allocations: 43.78 kB / 0.5608 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.4279, allocations: 35.84 kB / 0.5608 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.4279, allocations: 8 kB / 0.5608 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.428, allocations: 43.92 kB / 0.5609 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.937e-05/0.4281, allocations: 23.86 kB / 0.5609 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.4281, allocations: 31.78 kB / 0.5609 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.4284, allocations: 123.5 kB / 0.561 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4284, allocations: 0 / 0.561 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4284, allocations: 0 / 0.561 GB, free: 4.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.4284, allocations: 3.938 kB / 0.561 GB, free: 4.137 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.0008037/0.4293, allocations: 357.5 kB / 0.5614 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.4293, allocations: 8.031 kB / 0.5614 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.581e-05/0.4293, allocations: 192 / 0.5614 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.4294, allocations: 42.69 kB / 0.5614 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.4294, allocations: 8.891 kB / 0.5614 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.4298, allocations: 158.3 kB / 0.5616 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.4298, allocations: 8.109 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.4298, allocations: 4 kB / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.43, allocations: 57.67 kB / 0.5617 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.43, allocations: 0 / 0.5617 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.43, allocations: 0 / 0.5617 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.43, allocations: 0 / 0.5617 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.809e-05/0.4301, allocations: 27.92 kB / 0.5617 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.4306, allocations: 263.9 kB / 0.5619 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.4308, allocations: 54.67 kB / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.4309, allocations: 20.84 kB / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.4309, allocations: 0 / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.4311, allocations: 71.33 kB / 0.5621 GB, free: 2.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.4311, allocations: 0 / 0.5621 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007266/0.4318, allocations: 185.3 kB / 0.5622 GB, free: 2.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.4319, allocations: 55.41 kB / 0.5623 GB, free: 2.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.4322, allocations: 230.6 kB / 0.5625 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.4322, allocations: 29.7 kB / 0.5625 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.4323, allocations: 104.1 kB / 0.5626 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.4323, allocations: 19.86 kB / 0.5627 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.4324, allocations: 25.7 kB / 0.5627 GB, free: 2.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4326, allocations: 326.8 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.4326, allocations: 19.98 kB / 0.563 GB, free: 1.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.4327, allocations: 33.7 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4329, allocations: 65.64 kB / 0.5631 GB, free: 1.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4329, allocations: 4 kB / 0.5631 GB, free: 1.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.4331, allocations: 105.6 kB / 0.5632 GB, free: 1.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4331, allocations: 4 kB / 0.5632 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.4331, allocations: 11.92 kB / 0.5632 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4331, allocations: 0 / 0.5632 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4332, allocations: 16.17 kB / 0.5633 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4332, allocations: 4.094 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.4333, allocations: 11.88 kB / 0.5633 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4333, allocations: 7.938 kB / 0.5633 GB, free: 1.633 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.0001381/0.4334, allocations: 129.9 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.4335, allocations: 15.91 kB / 0.5634 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.4338, allocations: 123 kB / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4338, allocations: 0 / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.4338, allocations: 8.312 kB / 0.5635 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4338, allocations: 0 / 0.5635 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.4344, allocations: 374.4 kB / 0.5639 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4344, allocations: 4 kB / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.4345, allocations: 11.94 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.4345, allocations: 7.969 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4345, allocations: 4 kB / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4345, allocations: 0 / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4345, allocations: 0 / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.4348, allocations: 220.2 kB / 0.5641 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.4348, allocations: 11.89 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.4349, allocations: 4 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.4349, allocations: 4 kB / 0.5642 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.435, allocations: 7.984 kB / 0.5642 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.435, allocations: 4 kB / 0.5642 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.4352, allocations: 164.3 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4352, allocations: 0 / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.4354, allocations: 23.98 kB / 0.5643 GB, free: 456 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.002394/0.4378, allocations: 1.14 MB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.438, allocations: 55.92 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.438, allocations: 0 / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.4381, allocations: 35.92 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.4385, allocations: 25.59 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.4408, allocations: 1.705 MB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.441, allocations: 100.7 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.441, allocations: 16.58 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.233e-05/0.4411, allocations: 39.42 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4411, allocations: 0 / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.4684, allocations: 3.873 MB / 0.5712 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.92, allocations: 11.12 kB / 0.5712 GB, free: 9.602 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.11857962794602] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.139616218046285 12.156885413 11.724931402 Calling exit ...