Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.002039/0.002039, allocations: 109 kB / 18.49 MB, free: 4.602 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.002371/0.002371, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.455/1.455, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2308/0.2308, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 0.4917 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1328, allocations: 65.98 MB / 0.5561 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003558/0.1364, allocations: 1.74 MB / 0.5578 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1382, allocations: 1.03 MB / 0.5589 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.1383, allocations: 3.938 kB / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1386, allocations: 47.77 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.1389, allocations: 95.59 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.1391, allocations: 75.67 kB / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1393, allocations: 107.7 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.1394, allocations: 12 kB / 0.5592 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.265e-05/0.1395, allocations: 47.72 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.1395, allocations: 31.84 kB / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1395, allocations: 4 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.1396, allocations: 47.98 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.1397, allocations: 27.86 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.1397, allocations: 35.73 kB / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.14, allocations: 115.4 kB / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.14, allocations: 8 kB / 0.5595 GB, free: 2.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.14, allocations: 0 / 0.5595 GB, free: 2.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.14, allocations: 3.938 kB / 0.5595 GB, free: 2.305 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.0005523/0.1405, allocations: 430.5 kB / 0.5599 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1406, allocations: 8.031 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.602e-05/0.1406, allocations: 8.188 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.1406, allocations: 30.75 kB / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.1406, allocations: 12.89 kB / 0.56 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1409, allocations: 216.1 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1409, allocations: 8.109 kB / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.141, allocations: 4 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1411, allocations: 61.61 kB / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1411, allocations: 0 / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1411, allocations: 4 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1411, allocations: 0 / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.1412, allocations: 19.98 kB / 0.5603 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.1416, allocations: 288.8 kB / 0.5605 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1418, allocations: 58.61 kB / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.1418, allocations: 20.86 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1419, allocations: 3.984 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.142, allocations: 67.39 kB / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.142, allocations: 0 / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005757/0.1426, allocations: 177.3 kB / 0.5608 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1427, allocations: 55.41 kB / 0.5609 GB, free: 0.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1429, allocations: 222 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1429, allocations: 25.7 kB / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.143, allocations: 108.1 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.143, allocations: 15.86 kB / 0.5612 GB, free: 292 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.1431, allocations: 25.7 kB / 0.5613 GB, free: 260 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1432, allocations: 322.8 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.1433, allocations: 23.94 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.1434, allocations: 33.7 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1435, allocations: 65.7 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1435, allocations: 0 / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.1437, allocations: 101.5 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1437, allocations: 11.94 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1437, allocations: 3.984 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1437, allocations: 0 / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.1438, allocations: 16.19 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1438, allocations: 7.969 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.1438, allocations: 3.938 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1439, allocations: 11.98 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.000109/0.144, allocations: 128 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.144, allocations: 11.91 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.144, allocations: 17.39 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.144, allocations: 4 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.144, allocations: 4.312 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.144, allocations: 0 / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.1445, allocations: 403.3 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1445, allocations: 4 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.1446, allocations: 8 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1446, allocations: 3.938 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1446, allocations: 4 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1446, allocations: 0 / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1446, allocations: 0 / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1448, allocations: 208.3 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.1449, allocations: 96.97 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1449, allocations: 4 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.145, allocations: 0 / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.145, allocations: 11.98 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.145, allocations: 4 kB / 0.5627 GB, free: 14.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1452, allocations: 156.3 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1452, allocations: 4 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1454, allocations: 27.94 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.002119/0.1476, allocations: 1.101 MB / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1478, allocations: 55.97 kB / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1478, allocations: 0 / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.1478, allocations: 27.92 kB / 0.5641 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.1482, allocations: 32.78 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.001946/0.1501, allocations: 1.695 MB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.1505, allocations: 0.7041 MB / 0.5664 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.1505, allocations: 24.78 kB / 0.5665 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.1506, allocations: 39.42 kB / 0.5665 GB, free: 10.81 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1506, allocations: 4 kB / 0.5665 GB, free: 10.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.1696, allocations: 3.564 MB / 0.57 GB, free: 7.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.714, allocations: 6.875 kB / 0.57 GB, free: 7.324 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.841880661027972] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.893448889022693 8.910188705 8.767245231 Calling exit ...