Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 105.7 kB / 20.42 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 221.1 kB / 23.72 MB, free: 5.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 230.2 MB / 257.1 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2473/0.2473, allocations: 46.89 MB / 360.3 MB, free: 4.672 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 79.88 kB / 0.4956 GB, free: 8.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.369, allocations: 66 MB / 0.5601 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003029/0.372, allocations: 1.686 MB / 0.5617 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3737, allocations: 1.025 MB / 0.5627 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.3738, allocations: 0 / 0.5627 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.3741, allocations: 67.66 kB / 0.5628 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3744, allocations: 103.6 kB / 0.5629 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.3746, allocations: 71.69 kB / 0.5629 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.3748, allocations: 103.7 kB / 0.563 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.3748, allocations: 8.219 kB / 0.563 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3749, allocations: 47.78 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.375, allocations: 59.7 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3751, allocations: 4 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.3751, allocations: 27.98 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.3752, allocations: 23.86 kB / 0.5632 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.3752, allocations: 27.8 kB / 0.5632 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.3754, allocations: 113.3 kB / 0.5633 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3754, allocations: 0 / 0.5633 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3754, allocations: 0 / 0.5633 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3755, allocations: 0 / 0.5633 GB, free: 1.574 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006173/0.3761, allocations: 426.7 kB / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3761, allocations: 12.03 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.3761, allocations: 30.75 kB / 0.5638 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.3762, allocations: 12.84 kB / 0.5638 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.3765, allocations: 208.9 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3765, allocations: 4.375 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3765, allocations: 4.375 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3766, allocations: 49.8 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3767, allocations: 0 / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3767, allocations: 4 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3767, allocations: 0 / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.557e-05/0.3767, allocations: 19.92 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.3769, allocations: 185.6 kB / 0.5643 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3771, allocations: 46.62 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.3772, allocations: 16.84 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3772, allocations: 8 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.3773, allocations: 71.27 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.3773, allocations: 0 / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002778/0.3776, allocations: 93.56 kB / 0.5645 GB, free: 232 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3777, allocations: 55.41 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.3779, allocations: 190.4 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3779, allocations: 29.7 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.378, allocations: 104.1 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.378, allocations: 19.88 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.378, allocations: 17.72 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3782, allocations: 326.8 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.3782, allocations: 12 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.3783, allocations: 33.64 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.3784, allocations: 45.7 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3784, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001641/0.3785, allocations: 89.47 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3786, allocations: 4 kB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3786, allocations: 0 / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3786, allocations: 0 / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/0.3787, allocations: 15.98 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3787, allocations: 0 / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.3787, allocations: 8.188 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.3787, allocations: 12.19 kB / 0.5654 GB, free: 15.22 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001041/0.3788, allocations: 125.8 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.3788, allocations: 15.89 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.379, allocations: 94.59 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.379, allocations: 4 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3791, allocations: 0 / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3791, allocations: 0 / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.3792, allocations: 189.6 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3792, allocations: 7.938 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.3792, allocations: 4 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3792, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3793, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3793, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3793, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.3795, allocations: 113 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.3795, allocations: 85 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.3795, allocations: 11.98 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.3796, allocations: 3.938 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.3796, allocations: 4 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3796, allocations: 4 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.3797, allocations: 144.2 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3797, allocations: 0 / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.3799, allocations: 19.94 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001832/0.3818, allocations: 0.9471 MB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.3819, allocations: 43.97 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3819, allocations: 0 / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.382, allocations: 19.94 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3823, allocations: 34.16 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.3839, allocations: 1.526 MB / 0.5687 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3842, allocations: 0.7039 MB / 0.5694 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.3843, allocations: 12.8 kB / 0.5694 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.3843, allocations: 35.42 kB / 0.5694 GB, free: 11 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3843, allocations: 0 / 0.5694 GB, free: 11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.4094, allocations: 3.187 MB / 0.5725 GB, free: 7.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.336, allocations: 8.812 kB / 0.5726 GB, free: 7.797 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.479384616017342] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.460293378215283 8.485360106 8.10521001 Calling exit ...