Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001728/0.001728, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002211/0.002211, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.563/1.563, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2228/0.2228, allocations: 44.91 MB / 359.6 MB, free: 6.301 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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.002075/0.002075, allocations: 74.25 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3627, allocations: 65.47 MB / 0.5578 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00375/0.3665, allocations: 1.845 MB / 0.5596 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.3698, allocations: 1.805 MB / 0.5614 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.3699, allocations: 3.938 kB / 0.5614 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.3703, allocations: 55.69 kB / 0.5615 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.3708, allocations: 135.3 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.371, allocations: 107.7 kB / 0.5617 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.3713, allocations: 211.3 kB / 0.5619 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.3714, allocations: 5.812 kB / 0.5619 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.3716, allocations: 91.58 kB / 0.562 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.3718, allocations: 87.59 kB / 0.5621 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.3718, allocations: 15.94 kB / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.3721, allocations: 115.9 kB / 0.5622 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.3722, allocations: 35.84 kB / 0.5622 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.3723, allocations: 63.59 kB / 0.5623 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.3726, allocations: 228.9 kB / 0.5625 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.3726, allocations: 4 kB / 0.5625 GB, free: 2.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3726, allocations: 0 / 0.5625 GB, free: 2.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3726, allocations: 0 / 0.5625 GB, free: 2.969 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008207/0.3735, allocations: 428.9 kB / 0.5629 GB, free: 2.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3735, allocations: 12.03 kB / 0.5629 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.666e-05/0.3735, allocations: 8.125 kB / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.3736, allocations: 30.75 kB / 0.563 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.3736, allocations: 16.84 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.3741, allocations: 198.1 kB / 0.5632 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3741, allocations: 8.125 kB / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.3741, allocations: 4 kB / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.3743, allocations: 105 kB / 0.5633 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3744, allocations: 0 / 0.5633 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3744, allocations: 0 / 0.5633 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3744, allocations: 4 kB / 0.5633 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3745, allocations: 35.91 kB / 0.5633 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.3748, allocations: 185.6 kB / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3751, allocations: 109.2 kB / 0.5636 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.3752, allocations: 29.7 kB / 0.5636 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3752, allocations: 7.938 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.3755, allocations: 117 kB / 0.5638 GB, free: 1.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3755, allocations: 0 / 0.5638 GB, free: 1.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004896/0.3759, allocations: 169.4 kB / 0.5639 GB, free: 1.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.3761, allocations: 132.5 kB / 0.564 GB, free: 1.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.3764, allocations: 236.1 kB / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.3764, allocations: 33.7 kB / 0.5643 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3765, allocations: 120.1 kB / 0.5644 GB, free: 0.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.3766, allocations: 31.73 kB / 0.5645 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.3766, allocations: 25.72 kB / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3768, allocations: 330.8 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.3769, allocations: 31.92 kB / 0.5648 GB, free: 376 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3771, allocations: 73.14 kB / 0.5649 GB, free: 284 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3773, allocations: 99.78 kB / 0.565 GB, free: 172 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3773, allocations: 0 / 0.565 GB, free: 172 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000292/0.3775, allocations: 129.6 kB / 0.5651 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3776, allocations: 12 kB / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3776, allocations: 0 / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3776, allocations: 3.938 kB / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.3777, allocations: 28.03 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.3777, allocations: 3.984 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/0.3778, allocations: 15.94 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3778, allocations: 11.98 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001447/0.378, allocations: 134.2 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.378, allocations: 23.91 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.3784, allocations: 146.7 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3784, allocations: 4 kB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3784, allocations: 0 / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3784, allocations: 0 / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3786, allocations: 204.5 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3786, allocations: 0 / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.3787, allocations: 16.23 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3787, allocations: 0 / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.3787, allocations: 11.94 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3787, allocations: 4 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3787, allocations: 0 / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.3791, allocations: 169.7 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.3791, allocations: 19.89 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.3791, allocations: 4 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.3792, allocations: 11.98 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.3793, allocations: 8 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3793, allocations: 7.984 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.3795, allocations: 173.8 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3795, allocations: 4 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.3798, allocations: 51.86 kB / 0.5661 GB, free: 14.9 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002551/0.3824, allocations: 1.1 MB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.3827, allocations: 75.91 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3827, allocations: 0 / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3828, allocations: 39.91 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.3832, allocations: 57.34 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.3858, allocations: 1.907 MB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.3863, allocations: 0.7242 MB / 0.5699 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.3864, allocations: 29.62 kB / 0.57 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3866, allocations: 59.39 kB / 0.57 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3866, allocations: 4 kB / 0.57 GB, free: 10.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.4183, allocations: 5.537 MB / 0.5754 GB, free: 5.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.78, allocations: 8 kB / 0.5754 GB, free: 5.469 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.923778265016153] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 11.997390208998695 12.025261863 11.647396762 Calling exit ...