Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001307/0.001307, allocations: 113 kB / 18.49 MB, free: 4.539 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.001443/0.001443, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.515/1.515, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2355/0.2355, allocations: 46.92 MB / 357.8 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 67.91 kB / 0.4917 GB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1235, allocations: 65.99 MB / 0.5561 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003431/0.1269, allocations: 1.741 MB / 0.5578 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.129, allocations: 1.034 MB / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.1291, allocations: 7.938 kB / 0.5589 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.1295, allocations: 75.7 kB / 0.5589 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.1299, allocations: 115.6 kB / 0.559 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1301, allocations: 79.66 kB / 0.5591 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1304, allocations: 111.7 kB / 0.5592 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1305, allocations: 19.92 kB / 0.5592 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1306, allocations: 55.77 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1307, allocations: 67.8 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1308, allocations: 4 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1309, allocations: 43.98 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.1309, allocations: 27.84 kB / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.131, allocations: 35.75 kB / 0.5595 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1312, allocations: 127.4 kB / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1312, allocations: 0 / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1312, allocations: 0 / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1313, allocations: 4 kB / 0.5596 GB, free: 2.137 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000632/0.1319, allocations: 426.6 kB / 0.56 GB, free: 1.672 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1319, allocations: 12.03 kB / 0.56 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.699e-05/0.1319, allocations: 192 / 0.56 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.132, allocations: 34.75 kB / 0.56 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.132, allocations: 16.84 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1324, allocations: 220 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1324, allocations: 12.06 kB / 0.5603 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1324, allocations: 8 kB / 0.5603 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1326, allocations: 53.67 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1326, allocations: 0 / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1326, allocations: 0 / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1326, allocations: 0 / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.105e-05/0.1327, allocations: 23.97 kB / 0.5604 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.1331, allocations: 292.8 kB / 0.5606 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1333, allocations: 58.62 kB / 0.5607 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.1334, allocations: 24.78 kB / 0.5607 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1334, allocations: 4 kB / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.1336, allocations: 63.39 kB / 0.5608 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1336, allocations: 0 / 0.5608 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006141/0.1342, allocations: 185.5 kB / 0.561 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1343, allocations: 51.41 kB / 0.561 GB, free: 500 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1345, allocations: 227.3 kB / 0.5612 GB, free: 256 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1345, allocations: 29.7 kB / 0.5613 GB, free: 220 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.1346, allocations: 108.1 kB / 0.5614 GB, free: 108 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1346, allocations: 27.78 kB / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.1347, allocations: 25.7 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1349, allocations: 326.8 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.1349, allocations: 24.11 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.135, allocations: 37.72 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1351, allocations: 57.7 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1351, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000251/0.1354, allocations: 105.5 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1354, allocations: 9.906 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1354, allocations: 0 / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1354, allocations: 4 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.1355, allocations: 12 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1355, allocations: 3.938 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.1356, allocations: 11.98 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1356, allocations: 4 kB / 0.562 GB, free: 15.44 MB / 430.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.0001128/0.1357, allocations: 124 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.1357, allocations: 23.89 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.1358, allocations: 17.59 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1358, allocations: 4 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1358, allocations: 7.875 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1358, allocations: 0 / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.1363, allocations: 395.3 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1363, allocations: 0 / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.1363, allocations: 8 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1363, allocations: 3.938 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1363, allocations: 12.02 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1364, allocations: 3.938 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1364, allocations: 0 / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.1366, allocations: 212.5 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.1367, allocations: 85 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1367, allocations: 4 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1368, allocations: 4 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.1368, allocations: 11.98 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1369, allocations: 4 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.137, allocations: 169.2 kB / 0.563 GB, free: 14.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.137, allocations: 0 / 0.563 GB, free: 14.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1373, allocations: 23.94 kB / 0.563 GB, free: 14.24 MB / 430.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 (8): * Single equations (assignments): 6 * 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.00227/0.1396, allocations: 1.093 MB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1398, allocations: 63.91 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1398, allocations: 3.938 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.1399, allocations: 23.98 kB / 0.5642 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1403, allocations: 38.61 kB / 0.5642 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1424, allocations: 1.715 MB / 0.5659 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1428, allocations: 0.7158 MB / 0.5666 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.1429, allocations: 17.17 kB / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.1429, allocations: 39.42 kB / 0.5667 GB, free: 10.57 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1429, allocations: 0 / 0.5667 GB, free: 10.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.1641, allocations: 3.619 MB / 0.5702 GB, free: 7.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.633, allocations: 16.31 kB / 0.5702 GB, free: 7.016 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.766785315994639] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.816783982969355 8.844393487 8.708193377 Calling exit ...