Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.00131/0.00131, allocations: 109 kB / 18.49 MB, free: 4.602 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.001415/0.001415, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.522/1.522, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.232/0.232, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.001989/0.001989, allocations: 72.03 kB / 0.4887 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1281, allocations: 65.41 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003839/0.132, allocations: 2.295 MB / 0.5548 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1344, allocations: 1.323 MB / 0.5561 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1346, allocations: 7.938 kB / 0.5561 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.135, allocations: 131.3 kB / 0.5562 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005637/0.1356, allocations: 238.9 kB / 0.5564 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.136, allocations: 187.5 kB / 0.5566 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000572/0.1366, allocations: 458.6 kB / 0.557 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1368, allocations: 57.28 kB / 0.5571 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.1372, allocations: 311 kB / 0.5574 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1374, allocations: 163.1 kB / 0.5576 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.1374, allocations: 20 kB / 0.5576 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.1376, allocations: 71.97 kB / 0.5576 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1377, allocations: 135.4 kB / 0.5578 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.1379, allocations: 186.5 kB / 0.5579 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.1385, allocations: 445.6 kB / 0.5584 GB, free: 4.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1385, allocations: 8 kB / 0.5584 GB, free: 4.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1385, allocations: 0 / 0.5584 GB, free: 4.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1385, allocations: 4 kB / 0.5584 GB, free: 4.035 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.001249/0.1397, allocations: 0.8281 MB / 0.5592 GB, free: 3.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1398, allocations: 12.03 kB / 0.5592 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.474e-05/0.1398, allocations: 4.188 kB / 0.5592 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.1398, allocations: 50.67 kB / 0.5593 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.1399, allocations: 72.5 kB / 0.5593 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.1406, allocations: 421 kB / 0.5597 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1406, allocations: 16.06 kB / 0.5597 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.1407, allocations: 23.94 kB / 0.5598 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.1411, allocations: 181 kB / 0.5599 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.1411, allocations: 11.98 kB / 0.5599 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1411, allocations: 4 kB / 0.56 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1411, allocations: 4 kB / 0.56 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.1414, allocations: 95.86 kB / 0.56 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009585/0.1423, allocations: 0.8016 MB / 0.5608 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.143, allocations: 238.5 kB / 0.5611 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1432, allocations: 75.53 kB / 0.5611 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.1432, allocations: 7.984 kB / 0.5611 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.1436, allocations: 214.7 kB / 0.5613 GB, free: 0.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.1436, allocations: 0 / 0.5613 GB, free: 0.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002608/0.1462, allocations: 1.14 MB / 0.5625 GB, free: 15.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1463, allocations: 140.5 kB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/0.1473, allocations: 0.7931 MB / 0.5634 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.1473, allocations: 37.7 kB / 0.5634 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.1475, allocations: 241 kB / 0.5636 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.1477, allocations: 146.8 kB / 0.5638 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.1478, allocations: 82.09 kB / 0.5638 GB, free: 14.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.148, allocations: 374.8 kB / 0.5642 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.1483, allocations: 116.8 kB / 0.5643 GB, free: 13.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.1486, allocations: 183.1 kB / 0.5645 GB, free: 13.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.1491, allocations: 319 kB / 0.5648 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1491, allocations: 0 / 0.5648 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007636/0.1499, allocations: 441.2 kB / 0.5652 GB, free: 12.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1499, allocations: 4 kB / 0.5652 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1499, allocations: 4 kB / 0.5652 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.1499, allocations: 11.92 kB / 0.5652 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.1502, allocations: 87.89 kB / 0.5653 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.1502, allocations: 7.938 kB / 0.5653 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1504, allocations: 15.98 kB / 0.5653 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.1504, allocations: 24.06 kB / 0.5654 GB, free: 12.5 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.0002737/0.1507, allocations: 238.1 kB / 0.5656 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1508, allocations: 71.53 kB / 0.5657 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.1509, allocations: 80.91 kB / 0.5657 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1509, allocations: 4 kB / 0.5657 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.1509, allocations: 7.938 kB / 0.5657 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1509, allocations: 0 / 0.5657 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.1527, allocations: 1.307 MB / 0.567 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1527, allocations: 8.031 kB / 0.567 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1529, allocations: 59.91 kB / 0.5671 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1529, allocations: 8 kB / 0.5671 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.1529, allocations: 12 kB / 0.5671 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.1529, allocations: 11.92 kB / 0.5671 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.1529, allocations: 7.938 kB / 0.5671 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1539, allocations: 0.7971 MB / 0.5679 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.1541, allocations: 172.6 kB / 0.5681 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.1542, allocations: 12 kB / 0.5681 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.1545, allocations: 19.98 kB / 0.5681 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1546, allocations: 43.83 kB / 0.5681 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.1546, allocations: 23.98 kB / 0.5682 GB, free: 9.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006761/0.1553, allocations: 0.585 MB / 0.5687 GB, free: 8.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1553, allocations: 0 / 0.5687 GB, free: 8.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005258/0.1558, allocations: 87.92 kB / 0.5688 GB, free: 8.797 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.003213/0.159, allocations: 1.752 MB / 0.5705 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.1597, allocations: 299.5 kB / 0.5708 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1597, allocations: 0 / 0.5708 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.16, allocations: 152.4 kB / 0.571 GB, free: 6.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009458/0.161, allocations: 123.7 kB / 0.5711 GB, free: 6.652 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/0.1672, allocations: 4.767 MB / 0.5757 GB, free: 1.695 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.1677, allocations: 0.8893 MB / 0.5766 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.168, allocations: 79.28 kB / 0.5767 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.1682, allocations: 191.4 kB / 0.5769 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1682, allocations: 0 / 0.5769 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.1975, allocations: 10.94 MB / 0.5875 GB, free: 5.656 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.114/9.312, allocations: 23.78 kB / 0.5876 GB, free: 5.637 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.804344046977349] 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.496316272008698 9.780631167 9.639252708 Calling exit ...