Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001467/0.001467, allocations: 112.2 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.001545/0.001545, allocations: 218.9 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.52/1.52, 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.234/0.234, allocations: 46.91 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.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 71.89 kB / 0.4917 GB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1318, allocations: 65.99 MB / 0.5561 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003722/0.1356, allocations: 1.741 MB / 0.5578 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1375, allocations: 1.027 MB / 0.5588 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.781e-05/0.1376, allocations: 4 kB / 0.5589 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1379, allocations: 43.77 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.1383, allocations: 103.5 kB / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1385, allocations: 75.72 kB / 0.5591 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1387, allocations: 107.6 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1388, allocations: 8 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.139, allocations: 51.77 kB / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.139, allocations: 27.86 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1391, allocations: 4 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1392, allocations: 47.92 kB / 0.5593 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.1393, allocations: 27.84 kB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.1393, allocations: 39.73 kB / 0.5594 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1396, allocations: 119.5 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1396, allocations: 0 / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1396, allocations: 0 / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1396, allocations: 4 kB / 0.5595 GB, free: 2.301 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.0006792/0.1403, allocations: 426.6 kB / 0.5599 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.1403, allocations: 12.03 kB / 0.5599 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.135e-05/0.1403, allocations: 4.125 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.1404, allocations: 30.75 kB / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.1404, allocations: 16.89 kB / 0.5599 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.1408, allocations: 220.1 kB / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1408, allocations: 4.125 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1408, allocations: 11.97 kB / 0.5602 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.141, allocations: 53.67 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.141, allocations: 0 / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.141, allocations: 0 / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.141, allocations: 0 / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.693e-05/0.1411, allocations: 23.92 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.1415, allocations: 296.8 kB / 0.5605 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1417, allocations: 50.67 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1418, allocations: 16.86 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1418, allocations: 0 / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.142, allocations: 75.33 kB / 0.5607 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.142, allocations: 0 / 0.5607 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006157/0.1426, allocations: 185.5 kB / 0.5608 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1426, allocations: 51.41 kB / 0.5609 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.1429, allocations: 218 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1429, allocations: 25.7 kB / 0.5611 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.143, allocations: 100.1 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.143, allocations: 35.77 kB / 0.5613 GB, free: 276 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.1431, allocations: 21.72 kB / 0.5613 GB, free: 248 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1433, allocations: 330.8 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.1433, allocations: 16 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.1434, allocations: 33.7 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1435, allocations: 65.64 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1435, allocations: 4 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002215/0.1437, allocations: 93.59 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1438, allocations: 11.94 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1438, allocations: 3.938 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1438, allocations: 3.984 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.1439, allocations: 12 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1439, allocations: 7.938 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.1439, allocations: 4 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1439, allocations: 4 kB / 0.5618 GB, free: 15.64 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.0001127/0.1441, allocations: 132 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.1441, allocations: 15.91 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.1441, allocations: 17.39 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.1442, allocations: 4 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1442, allocations: 3.938 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1442, allocations: 0 / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000501/0.1447, allocations: 395.3 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1447, allocations: 4.031 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.1447, allocations: 11.94 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.1447, allocations: 3.938 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1447, allocations: 4 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1447, allocations: 240 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1447, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.145, allocations: 208.3 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.1452, allocations: 96.98 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1452, allocations: 0 / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.1453, allocations: 8 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1453, allocations: 7.984 kB / 0.5627 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1453, allocations: 4 kB / 0.5627 GB, free: 14.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.1455, allocations: 156.3 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1455, allocations: 3.938 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1457, allocations: 24.12 kB / 0.5629 GB, free: 14.45 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.002346/0.1481, allocations: 1.111 MB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1483, allocations: 51.92 kB / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1483, allocations: 0 / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.1484, allocations: 27.92 kB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.1488, allocations: 31.91 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.1509, allocations: 1.701 MB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1513, allocations: 0.708 MB / 0.5664 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.1514, allocations: 20.47 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.1514, allocations: 39.42 kB / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1514, allocations: 0 / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.1727, allocations: 3.567 MB / 0.57 GB, free: 7.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/8.64, allocations: 12 kB / 0.57 GB, free: 7.301 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.731869456009008] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.827772751974408 8.851502527 8.707675165 Calling exit ...