Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001396/0.001396, allocations: 121 kB / 18.5 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.001545/0.001545, allocations: 213.5 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.481/1.481, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2325/0.2325, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 59.91 kB / 0.4917 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1337, allocations: 65.99 MB / 0.5561 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003519/0.1372, allocations: 1.741 MB / 0.5578 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.139, allocations: 1.03 MB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.139, allocations: 7.938 kB / 0.5589 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.1394, allocations: 83.69 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1398, allocations: 115.6 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.14, allocations: 79.67 kB / 0.5591 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1402, allocations: 115.7 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1403, allocations: 8 kB / 0.5592 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1405, allocations: 59.7 kB / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1406, allocations: 67.81 kB / 0.5594 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1406, allocations: 4 kB / 0.5594 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1407, allocations: 51.91 kB / 0.5594 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.1408, allocations: 23.86 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.1408, allocations: 35.75 kB / 0.5595 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1411, allocations: 127.4 kB / 0.5596 GB, free: 2.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1411, allocations: 0 / 0.5596 GB, free: 2.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1411, allocations: 0 / 0.5596 GB, free: 2.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1411, allocations: 0 / 0.5596 GB, free: 2.238 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.0006994/0.1418, allocations: 430.6 kB / 0.56 GB, free: 1.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1419, allocations: 12.03 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.332e-05/0.1419, allocations: 192 / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.1419, allocations: 34.75 kB / 0.56 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.142, allocations: 16.84 kB / 0.5601 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.1423, allocations: 216.1 kB / 0.5603 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1423, allocations: 8.125 kB / 0.5603 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1424, allocations: 7.984 kB / 0.5603 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1425, allocations: 57.61 kB / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1425, allocations: 4 kB / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1426, allocations: 0 / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1426, allocations: 0 / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.1426, allocations: 23.97 kB / 0.5604 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.1431, allocations: 288.8 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1433, allocations: 58.61 kB / 0.5607 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.1433, allocations: 24.8 kB / 0.5607 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1433, allocations: 4 kB / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.1435, allocations: 67.38 kB / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1435, allocations: 0 / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006006/0.1441, allocations: 177.3 kB / 0.561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1442, allocations: 55.41 kB / 0.561 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.1444, allocations: 231.3 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1444, allocations: 33.7 kB / 0.5613 GB, free: 316 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.1445, allocations: 104.1 kB / 0.5614 GB, free: 208 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.1445, allocations: 27.78 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.1446, allocations: 21.72 kB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1447, allocations: 322.8 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.1448, allocations: 19.98 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.1449, allocations: 45.64 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.145, allocations: 54.28 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.145, allocations: 0 / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.1452, allocations: 113.5 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1452, allocations: 4 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1452, allocations: 4.078 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1452, allocations: 4 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1453, allocations: 20.02 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1453, allocations: 7.922 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.1454, allocations: 8 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1454, allocations: 0 / 0.562 GB, free: 15.53 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.0001173/0.1455, allocations: 132 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1455, allocations: 19.91 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.1456, allocations: 13.41 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1456, allocations: 7.984 kB / 0.5622 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1456, allocations: 3.938 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1456, allocations: 4 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.1461, allocations: 387.3 kB / 0.5625 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1461, allocations: 0 / 0.5625 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.1461, allocations: 11.98 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1461, allocations: 3.938 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1461, allocations: 4 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1461, allocations: 3.938 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1461, allocations: 0 / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1464, allocations: 212.2 kB / 0.5628 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.1464, allocations: 89 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1465, allocations: 11.98 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.1465, allocations: 0 / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1466, allocations: 4 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1466, allocations: 7.984 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1467, allocations: 169.2 kB / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1467, allocations: 0 / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.147, allocations: 23.94 kB / 0.563 GB, free: 14.34 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.002214/0.1492, allocations: 1.097 MB / 0.5641 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1494, allocations: 55.97 kB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1494, allocations: 3.938 kB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.1495, allocations: 28.2 kB / 0.5642 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1499, allocations: 43.86 kB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.1518, allocations: 1.715 MB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1521, allocations: 0.708 MB / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.1522, allocations: 20.86 kB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.1522, allocations: 39.42 kB / 0.5667 GB, free: 10.67 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1522, allocations: 0 / 0.5667 GB, free: 10.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.1709, allocations: 3.616 MB / 0.5702 GB, free: 7.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.498/8.669, allocations: 27.06 kB / 0.5702 GB, free: 7.102 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.748857169004623] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.851810641994234 8.877857322 8.73194394 Calling exit ...