Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001792/0.001792, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.00206/0.00206, allocations: 215 kB / 21.45 MB, free: 1.617 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.557/1.557, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.2342/0.2342, allocations: 44.91 MB / 355.8 MB, free: 12.35 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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",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.002617/0.002617, allocations: 75.84 kB / 0.4887 GB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1683, allocations: 65.42 MB / 0.5525 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004336/0.1727, allocations: 2.28 MB / 0.5548 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.1753, allocations: 1.322 MB / 0.5561 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.1756, allocations: 7.938 kB / 0.5561 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.1761, allocations: 143.3 kB / 0.5562 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007005/0.1768, allocations: 258.9 kB / 0.5565 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.1773, allocations: 187.5 kB / 0.5566 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007159/0.178, allocations: 470.6 kB / 0.5571 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.1782, allocations: 57.27 kB / 0.5571 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005387/0.1787, allocations: 338.9 kB / 0.5575 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.179, allocations: 175.1 kB / 0.5576 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.745e-05/0.1791, allocations: 16 kB / 0.5576 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.1793, allocations: 79.95 kB / 0.5577 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.1795, allocations: 151.3 kB / 0.5579 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.1798, allocations: 206.3 kB / 0.5581 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.1805, allocations: 485.5 kB / 0.5585 GB, free: 3.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1805, allocations: 3.938 kB / 0.5585 GB, free: 3.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1805, allocations: 0 / 0.5585 GB, free: 3.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.1805, allocations: 0 / 0.5585 GB, free: 3.875 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001552/0.182, allocations: 0.9095 MB / 0.5594 GB, free: 2.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.1821, allocations: 8.031 kB / 0.5594 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.499e-05/0.1821, allocations: 4.188 kB / 0.5594 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.1822, allocations: 50.67 kB / 0.5595 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1823, allocations: 76.45 kB / 0.5595 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/0.183, allocations: 456.7 kB / 0.56 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.183, allocations: 20.06 kB / 0.56 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.1831, allocations: 19.95 kB / 0.56 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.1835, allocations: 193 kB / 0.5602 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.1836, allocations: 4 kB / 0.5602 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.1836, allocations: 4 kB / 0.5602 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1836, allocations: 4 kB / 0.5602 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.1839, allocations: 95.84 kB / 0.5603 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.185, allocations: 0.8211 MB / 0.5611 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.1857, allocations: 242.4 kB / 0.5613 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1859, allocations: 83.53 kB / 0.5614 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.186, allocations: 4 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.1864, allocations: 214.7 kB / 0.5616 GB, free: 452 kB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/0.1864, allocations: 0 / 0.5616 GB, free: 452 kB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002864/0.1893, allocations: 1.198 MB / 0.5628 GB, free: 15.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.887e-05/0.1894, allocations: 140.4 kB / 0.5629 GB, free: 15.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.1905, allocations: 0.9614 MB / 0.5639 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.1906, allocations: 37.7 kB / 0.5639 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.1909, allocations: 269 kB / 0.5642 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.191, allocations: 146.8 kB / 0.5643 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.1912, allocations: 82.08 kB / 0.5644 GB, free: 13.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1913, allocations: 322 kB / 0.5647 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.1916, allocations: 112.8 kB / 0.5648 GB, free: 13.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.1919, allocations: 187.1 kB / 0.565 GB, free: 12.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.1924, allocations: 319 kB / 0.5653 GB, free: 12.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1924, allocations: 0 / 0.5653 GB, free: 12.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008175/0.1933, allocations: 445.2 kB / 0.5657 GB, free: 12.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1933, allocations: 8 kB / 0.5657 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1933, allocations: 4.125 kB / 0.5657 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.1933, allocations: 8 kB / 0.5657 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.1936, allocations: 87.83 kB / 0.5658 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.1936, allocations: 7.938 kB / 0.5658 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.1938, allocations: 19.98 kB / 0.5658 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.1938, allocations: 20 kB / 0.5658 GB, free: 11.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000291/0.1941, allocations: 254.1 kB / 0.5661 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.1942, allocations: 75.48 kB / 0.5662 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.1944, allocations: 102.7 kB / 0.5663 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1944, allocations: 4 kB / 0.5663 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.1944, allocations: 7.938 kB / 0.5663 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1944, allocations: 3.984 kB / 0.5663 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.1962, allocations: 1.338 MB / 0.5676 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1962, allocations: 0 / 0.5676 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.1964, allocations: 59.91 kB / 0.5676 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.1964, allocations: 4 kB / 0.5676 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.1964, allocations: 20 kB / 0.5677 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.1965, allocations: 16.17 kB / 0.5677 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1965, allocations: 3.938 kB / 0.5677 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009831/0.1974, allocations: 0.789 MB / 0.5685 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.1976, allocations: 184.5 kB / 0.5686 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.1977, allocations: 19.98 kB / 0.5686 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.198, allocations: 16 kB / 0.5687 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.1981, allocations: 43.83 kB / 0.5687 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.1981, allocations: 32.3 kB / 0.5687 GB, free: 8.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007904/0.1989, allocations: 0.6943 MB / 0.5694 GB, free: 8.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1989, allocations: 0 / 0.5694 GB, free: 8.176 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005841/0.1995, allocations: 95.92 kB / 0.5695 GB, free: 8.082 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003193/0.2027, allocations: 1.767 MB / 0.5712 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000707/0.2034, allocations: 307.5 kB / 0.5715 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2034, allocations: 0 / 0.5715 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.2037, allocations: 151.7 kB / 0.5717 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.2047, allocations: 117.3 kB / 0.5718 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.212, allocations: 5.143 MB / 0.5768 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.2126, allocations: 0.9172 MB / 0.5777 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.2128, allocations: 87.28 kB / 0.5778 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.2131, allocations: 215.3 kB / 0.578 GB, free: 15.35 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2131, allocations: 0 / 0.578 GB, free: 15.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.2483, allocations: 11.61 MB / 0.5893 GB, free: 3.828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.291/9.54, allocations: 12 kB / 0.5893 GB, free: 3.816 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.103186129999813] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.729812767007388 10.046828257 9.863353605 Calling exit ...