Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001282/0.001282, allocations: 114.3 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.001382/0.001382, allocations: 219 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.468/1.468, 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.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.2504/0.2504, allocations: 46.93 MB / 357.8 MB, free: 10.3 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.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 75.89 kB / 0.4917 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1342, allocations: 65.98 MB / 0.5561 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003429/0.1377, allocations: 1.733 MB / 0.5578 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1396, allocations: 1.038 MB / 0.5589 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.1397, allocations: 3.938 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.14, allocations: 39.77 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.1403, allocations: 95.59 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1405, allocations: 71.69 kB / 0.5591 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1407, allocations: 115.6 kB / 0.5592 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.1408, allocations: 12 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1409, allocations: 43.78 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.141, allocations: 35.84 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.141, allocations: 4 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1411, allocations: 43.98 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.1412, allocations: 15.92 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.1413, allocations: 39.72 kB / 0.5594 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1415, allocations: 119.4 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1415, allocations: 0 / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1415, allocations: 0 / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1415, allocations: 4 kB / 0.5595 GB, free: 2.316 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.0005941/0.1421, allocations: 418.7 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1421, allocations: 8.031 kB / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.723e-05/0.1421, allocations: 4.188 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1422, allocations: 34.75 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.1422, allocations: 16.78 kB / 0.5599 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1426, allocations: 206.4 kB / 0.5601 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1426, allocations: 12.06 kB / 0.5601 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1426, allocations: 8 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1428, allocations: 49.67 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1428, allocations: 4 kB / 0.5602 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1428, allocations: 0 / 0.5602 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1428, allocations: 4 kB / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.1429, allocations: 15.98 kB / 0.5602 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.1433, allocations: 280.9 kB / 0.5605 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1434, allocations: 62.61 kB / 0.5605 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.1435, allocations: 20.84 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1435, allocations: 3.984 kB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.1437, allocations: 67.39 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1437, allocations: 0 / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000551/0.1442, allocations: 189.5 kB / 0.5608 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.1443, allocations: 51.41 kB / 0.5609 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1444, allocations: 181.6 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1445, allocations: 29.7 kB / 0.5611 GB, free: 488 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.1445, allocations: 100.1 kB / 0.5612 GB, free: 384 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.1446, allocations: 23.84 kB / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.1446, allocations: 21.72 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1448, allocations: 330.9 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.1448, allocations: 23.86 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.1449, allocations: 37.7 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.145, allocations: 53.72 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.145, allocations: 0 / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000202/0.1452, allocations: 109.5 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1452, allocations: 8.031 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1452, allocations: 0 / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1453, allocations: 0 / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.1454, allocations: 23.98 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1454, allocations: 3.938 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.1454, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1454, allocations: 4 kB / 0.5618 GB, free: 15.71 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.0001133/0.1455, allocations: 125.8 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1456, allocations: 16.12 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.1456, allocations: 17.41 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1456, allocations: 3.938 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1456, allocations: 3.938 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1456, allocations: 0 / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.1461, allocations: 399.3 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1461, allocations: 0 / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.1461, allocations: 8 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.1461, allocations: 3.938 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1461, allocations: 4.031 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1461, allocations: 4 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1461, allocations: 0 / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1464, allocations: 200.3 kB / 0.5625 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.1465, allocations: 100.9 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1465, allocations: 0 / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.1466, allocations: 4 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.1466, allocations: 11.98 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1466, allocations: 4 kB / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1467, allocations: 137.8 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1467, allocations: 0 / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.147, allocations: 31.86 kB / 0.5628 GB, free: 14.55 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.002211/0.1492, allocations: 1.095 MB / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1494, allocations: 63.89 kB / 0.5639 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1494, allocations: 4 kB / 0.5639 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.1495, allocations: 23.98 kB / 0.564 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1499, allocations: 31.17 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1518, allocations: 1.641 MB / 0.5656 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1522, allocations: 0.7079 MB / 0.5663 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.665e-05/0.1522, allocations: 21.17 kB / 0.5663 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.1523, allocations: 35.42 kB / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1523, allocations: 0 / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.1715, allocations: 3.456 MB / 0.5697 GB, free: 7.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.334/8.506, allocations: 22.53 kB / 0.5697 GB, free: 7.566 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.542593552032486] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.684423642000183 8.699682739 8.554817811 Calling exit ...