Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001353/0.001353, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001381/0.001381, allocations: 215 kB / 21.45 MB, free: 1.641 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.532/1.532, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2314/0.2314, allocations: 46.91 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.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 0.4917 GB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1263, allocations: 65.98 MB / 0.5561 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003526/0.1298, allocations: 1.743 MB / 0.5578 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.1324, allocations: 1.641 MB / 0.5594 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.765e-05/0.1325, allocations: 3.938 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1328, allocations: 39.77 kB / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.1332, allocations: 95.61 kB / 0.5596 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.1335, allocations: 79.67 kB / 0.5597 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1337, allocations: 111.6 kB / 0.5598 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.1338, allocations: 12 kB / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1339, allocations: 47.78 kB / 0.5598 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1341, allocations: 43.83 kB / 0.5599 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1341, allocations: 4 kB / 0.5599 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.1343, allocations: 107.9 kB / 0.56 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.1344, allocations: 27.92 kB / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1344, allocations: 39.72 kB / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.1348, allocations: 175.3 kB / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1348, allocations: 0 / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1348, allocations: 0 / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1348, allocations: 0 / 0.5602 GB, free: 1.594 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.0006348/0.1354, allocations: 426.6 kB / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1354, allocations: 8.031 kB / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.202e-05/0.1355, allocations: 192 / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.1355, allocations: 46.75 kB / 0.5607 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1355, allocations: 12.84 kB / 0.5607 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1359, allocations: 217.2 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1359, allocations: 0 / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1359, allocations: 4 kB / 0.5609 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1361, allocations: 67.33 kB / 0.5609 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1361, allocations: 0 / 0.5609 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1361, allocations: 4 kB / 0.5609 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1361, allocations: 4 kB / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.943e-05/0.1362, allocations: 19.98 kB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1366, allocations: 284.9 kB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1367, allocations: 54.62 kB / 0.5613 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.1368, allocations: 20.84 kB / 0.5613 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1368, allocations: 4 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.137, allocations: 75.38 kB / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.137, allocations: 3.938 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.1376, allocations: 185.2 kB / 0.5616 GB, free: 0 / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.1376, allocations: 77.11 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1378, allocations: 161.5 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1378, allocations: 37.7 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.1379, allocations: 96.12 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1379, allocations: 27.75 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.138, allocations: 21.7 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1381, allocations: 322.8 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.1382, allocations: 23.92 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.1383, allocations: 38.56 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1384, allocations: 65.73 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1384, allocations: 0 / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002113/0.1386, allocations: 97.56 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1386, allocations: 8 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1386, allocations: 0 / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1386, allocations: 11.86 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.1387, allocations: 16.38 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1387, allocations: 4.031 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.1388, allocations: 4 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1388, allocations: 11.94 kB / 0.5626 GB, free: 14.92 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.0001125/0.1389, allocations: 130.3 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1389, allocations: 7.953 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.139, allocations: 12.72 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.139, allocations: 3.938 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.139, allocations: 3.984 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.139, allocations: 0 / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.1395, allocations: 411.3 kB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1395, allocations: 0 / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.1395, allocations: 8 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1395, allocations: 0 / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.1395, allocations: 0 / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1395, allocations: 4 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1395, allocations: 0 / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1398, allocations: 212.2 kB / 0.5633 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1399, allocations: 81.06 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.1399, allocations: 8.188 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.14, allocations: 0 / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.14, allocations: 11.92 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.14, allocations: 4 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1401, allocations: 123.2 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1401, allocations: 4 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.1405, allocations: 51.86 kB / 0.5636 GB, free: 13.77 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.002485/0.1429, allocations: 1.184 MB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1431, allocations: 55.91 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1431, allocations: 4 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1432, allocations: 23.98 kB / 0.5648 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1436, allocations: 30.83 kB / 0.5648 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1455, allocations: 1.592 MB / 0.5664 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1458, allocations: 0.6934 MB / 0.5671 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.327e-05/0.1459, allocations: 25.17 kB / 0.5671 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.146, allocations: 39.59 kB / 0.5671 GB, free: 10.19 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.146, allocations: 4 kB / 0.5671 GB, free: 10.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.1682, allocations: 4.097 MB / 0.5711 GB, free: 6.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.712, allocations: 11.94 kB / 0.5712 GB, free: 6.098 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.864473294001073] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.907658812007867 8.935091009 8.795562627 Calling exit ...