Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001537/0.001537, 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.001699/0.001699, 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.523/1.523, 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.2332/0.2332, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.91 kB / 0.4917 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1367, allocations: 65.98 MB / 0.5561 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003223/0.1399, allocations: 1.69 MB / 0.5578 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1417, allocations: 1.015 MB / 0.5588 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.1418, allocations: 4 kB / 0.5588 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.1422, allocations: 59.73 kB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.1426, allocations: 115.5 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1428, allocations: 67.75 kB / 0.559 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.143, allocations: 107.7 kB / 0.5591 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.1431, allocations: 8.219 kB / 0.5591 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1432, allocations: 47.78 kB / 0.5592 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1433, allocations: 51.77 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1433, allocations: 4 kB / 0.5592 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1434, allocations: 31.98 kB / 0.5593 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.1435, allocations: 15.92 kB / 0.5593 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.1435, allocations: 39.67 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.1438, allocations: 103.6 kB / 0.5594 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1438, allocations: 4 kB / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1438, allocations: 0 / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1438, allocations: 0 / 0.5594 GB, free: 2.43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006775/0.1445, allocations: 418.7 kB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1445, allocations: 8.031 kB / 0.5598 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.053e-05/0.1446, allocations: 4.188 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.1446, allocations: 30.75 kB / 0.5598 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.1446, allocations: 12.84 kB / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.145, allocations: 223.1 kB / 0.5601 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.145, allocations: 4.125 kB / 0.5601 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.145, allocations: 4 kB / 0.5601 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1452, allocations: 49.66 kB / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1452, allocations: 0 / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1452, allocations: 0 / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1452, allocations: 0 / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.1453, allocations: 15.98 kB / 0.5601 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.1455, allocations: 185.6 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1457, allocations: 58.5 kB / 0.5604 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.1458, allocations: 20.78 kB / 0.5604 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1458, allocations: 4 kB / 0.5604 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.1461, allocations: 63.39 kB / 0.5605 GB, free: 1.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.264e-06/0.1461, allocations: 4 kB / 0.5605 GB, free: 1.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003927/0.1465, allocations: 93.56 kB / 0.5606 GB, free: 1.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.1465, allocations: 59.39 kB / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.1468, allocations: 198.4 kB / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1468, allocations: 25.7 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.1469, allocations: 96.14 kB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.1469, allocations: 23.88 kB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.147, allocations: 17.72 kB / 0.561 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1472, allocations: 326.8 kB / 0.5613 GB, free: 308 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.1472, allocations: 12 kB / 0.5613 GB, free: 296 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.1473, allocations: 29.7 kB / 0.5613 GB, free: 260 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1474, allocations: 53.83 kB / 0.5614 GB, free: 200 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1475, allocations: 0 / 0.5614 GB, free: 200 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002033/0.1477, allocations: 85.62 kB / 0.5614 GB, free: 108 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1477, allocations: 5.875 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1477, allocations: 0 / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1477, allocations: 0 / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.1478, allocations: 23.92 kB / 0.5615 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1478, allocations: 0 / 0.5615 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1479, allocations: 3.938 kB / 0.5615 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1479, allocations: 4 kB / 0.5615 GB, free: 72 kB / 414.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 (7): * Single equations (assignments): 7 * 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.0001665/0.148, allocations: 128 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1481, allocations: 7.953 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.1481, allocations: 21 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1481, allocations: 0 / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1481, allocations: 0 / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1481, allocations: 3.984 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.1483, allocations: 189.5 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1483, allocations: 0 / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.1484, allocations: 7.938 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1484, allocations: 0 / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1484, allocations: 0 / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1484, allocations: 3.984 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1484, allocations: 12.09 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1486, allocations: 109 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.1487, allocations: 85.05 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1487, allocations: 4 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.1488, allocations: 128 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.1488, allocations: 12 kB / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1488, allocations: 3.984 kB / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.149, allocations: 148.2 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.149, allocations: 0 / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1493, allocations: 19.98 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00226/0.1515, allocations: 0.9525 MB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1517, allocations: 47.98 kB / 0.5632 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1517, allocations: 0 / 0.5632 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.761e-05/0.1518, allocations: 23.92 kB / 0.5632 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.1521, allocations: 19.98 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.154, allocations: 1.502 MB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1544, allocations: 0.7041 MB / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.1545, allocations: 12.55 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.1546, allocations: 39.36 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1546, allocations: 0 / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.1746, allocations: 3.219 MB / 0.5686 GB, free: 8.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/8.619, allocations: 4.062 kB / 0.5686 GB, free: 8.809 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.7855892929947] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.796528859995306 8.812393947 8.665499774 Calling exit ...