Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001756/0.001756, 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.00229/0.00229, 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.477/1.477, 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.2619/0.2619, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 71.89 kB / 0.4917 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1317, allocations: 65.98 MB / 0.5561 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00316/0.1349, allocations: 1.744 MB / 0.5578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.1374, allocations: 1.641 MB / 0.5594 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1375, allocations: 4 kB / 0.5594 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1378, allocations: 39.7 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.1381, allocations: 103.5 kB / 0.5596 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1384, allocations: 71.73 kB / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.1386, allocations: 115.6 kB / 0.5598 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1387, allocations: 8 kB / 0.5598 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1388, allocations: 51.78 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1389, allocations: 47.77 kB / 0.5599 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1389, allocations: 8 kB / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.1391, allocations: 103.9 kB / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.1392, allocations: 19.92 kB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.1392, allocations: 39.67 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.1395, allocations: 171.4 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1395, allocations: 3.984 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1395, allocations: 4 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1395, allocations: 0 / 0.5602 GB, free: 1.57 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.0006229/0.1402, allocations: 418.7 kB / 0.5606 GB, free: 1.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1402, allocations: 19.97 kB / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.1402, allocations: 192 / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.1403, allocations: 30.75 kB / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1403, allocations: 16.84 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1406, allocations: 212.2 kB / 0.5609 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1407, allocations: 7.984 kB / 0.5609 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1407, allocations: 4 kB / 0.5609 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1409, allocations: 71.39 kB / 0.5609 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1409, allocations: 3.984 kB / 0.5609 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1409, allocations: 0 / 0.5609 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1409, allocations: 4 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.141, allocations: 15.98 kB / 0.561 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1414, allocations: 288.8 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1416, allocations: 62.67 kB / 0.5613 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.1417, allocations: 20.84 kB / 0.5613 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.1417, allocations: 0 / 0.5613 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.1419, allocations: 71.33 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1419, allocations: 0 / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005798/0.1424, allocations: 181.3 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.1425, allocations: 85.11 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1427, allocations: 165.5 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1427, allocations: 25.7 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.1428, allocations: 96.14 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.1428, allocations: 31.73 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.1429, allocations: 21.72 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.143, allocations: 322.8 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.1431, allocations: 31.92 kB / 0.5623 GB, free: 15.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.1432, allocations: 38.56 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1433, allocations: 69.62 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1433, allocations: 0 / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.1435, allocations: 89.64 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1435, allocations: 5.875 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1435, allocations: 4.062 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1435, allocations: 7.938 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.1436, allocations: 23.86 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1436, allocations: 0 / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.1437, allocations: 8 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1437, allocations: 4 kB / 0.5625 GB, free: 14.9 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.0001057/0.1438, allocations: 121.4 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1438, allocations: 11.95 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.1439, allocations: 12.72 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1439, allocations: 7.938 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1439, allocations: 0 / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1439, allocations: 0 / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.1444, allocations: 403.3 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1444, allocations: 0 / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.1444, allocations: 12 kB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1444, allocations: 4 kB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1444, allocations: 0 / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1444, allocations: 3.938 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1444, allocations: 8.109 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1447, allocations: 200.3 kB / 0.5633 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.1447, allocations: 89.05 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1448, allocations: 4 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.1448, allocations: 384 / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.1449, allocations: 11.98 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1449, allocations: 8 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.145, allocations: 123.2 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.145, allocations: 0 / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.1453, allocations: 47.86 kB / 0.5636 GB, free: 13.75 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.002469/0.1478, allocations: 1.193 MB / 0.5647 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.148, allocations: 55.91 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.148, allocations: 0 / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.1481, allocations: 24.06 kB / 0.5648 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1484, allocations: 41.17 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.1504, allocations: 1.588 MB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1507, allocations: 0.7012 MB / 0.5671 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.1507, allocations: 25.16 kB / 0.5671 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.1508, allocations: 31.42 kB / 0.5671 GB, free: 10.17 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1508, allocations: 0 / 0.5671 GB, free: 10.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.1718, allocations: 4.097 MB / 0.5711 GB, free: 6.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/8.639, allocations: 12 kB / 0.5712 GB, free: 6.082 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.78779073804617] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.821316477959044 8.836983062 8.694527132 Calling exit ...