Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001384/0.001384, 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.002341/0.002341, 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.508/1.508, 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.2301/0.2301, 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.Test43,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.91 kB / 0.4917 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1277, allocations: 65.98 MB / 0.5561 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003466/0.1312, allocations: 1.737 MB / 0.5578 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1329, allocations: 1.034 MB / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.133, allocations: 3.938 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.1333, allocations: 43.81 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1337, allocations: 103.5 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.1339, allocations: 71.69 kB / 0.5591 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1341, allocations: 111.7 kB / 0.5592 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1342, allocations: 11.98 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.1343, allocations: 39.8 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.1344, allocations: 39.77 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1344, allocations: 4 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1345, allocations: 47.92 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.1346, allocations: 27.86 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.1346, allocations: 31.75 kB / 0.5594 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.1349, allocations: 127.5 kB / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1349, allocations: 0 / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1349, allocations: 0 / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1349, allocations: 0 / 0.5595 GB, free: 2.297 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.0006541/0.1355, allocations: 434.5 kB / 0.5599 GB, free: 1.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1356, allocations: 8.031 kB / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.789e-05/0.1356, allocations: 192 / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.1356, allocations: 38.73 kB / 0.5599 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.1357, allocations: 12.89 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.136, allocations: 216.1 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.136, allocations: 4.125 kB / 0.5602 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.136, allocations: 4 kB / 0.5602 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1362, allocations: 53.67 kB / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1362, allocations: 7.922 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1362, allocations: 0 / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1362, allocations: 4 kB / 0.5602 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.338e-05/0.1363, allocations: 15.98 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1367, allocations: 300.8 kB / 0.5605 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1369, allocations: 54.61 kB / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.1369, allocations: 20.84 kB / 0.5606 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.137, allocations: 4 kB / 0.5606 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.1371, allocations: 67.39 kB / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1371, allocations: 0 / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000558/0.1377, allocations: 177.3 kB / 0.5608 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1377, allocations: 55.41 kB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.138, allocations: 214 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.138, allocations: 25.7 kB / 0.5611 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.138, allocations: 108.1 kB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.1381, allocations: 23.86 kB / 0.5612 GB, free: 280 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1381, allocations: 21.7 kB / 0.5613 GB, free: 252 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1383, allocations: 322.8 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.1384, allocations: 23.98 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.1384, allocations: 41.64 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1386, allocations: 53.91 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1386, allocations: 4.375 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002124/0.1388, allocations: 113.5 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1388, allocations: 9.812 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1388, allocations: 80 / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1388, allocations: 0 / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.1389, allocations: 20 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1389, allocations: 11.91 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.139, allocations: 4 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.139, allocations: 4 kB / 0.5619 GB, free: 15.62 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.0001241/0.1391, allocations: 128.1 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1391, allocations: 19.83 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.1392, allocations: 21.41 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1392, allocations: 0 / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1392, allocations: 3.938 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1392, allocations: 0 / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.1397, allocations: 395.3 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1397, allocations: 4.031 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.1397, allocations: 8 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1397, allocations: 3.938 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1397, allocations: 4 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1397, allocations: 3.984 kB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1397, allocations: 0 / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.14, allocations: 200.3 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1401, allocations: 93 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1401, allocations: 4 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.1402, allocations: 3.938 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.1402, allocations: 11.98 kB / 0.5627 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1402, allocations: 4 kB / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1404, allocations: 156.3 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1404, allocations: 0 / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1406, allocations: 31.92 kB / 0.5629 GB, free: 14.44 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.00224/0.1429, allocations: 1.101 MB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1431, allocations: 59.91 kB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1431, allocations: 0 / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.1431, allocations: 24.09 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.0003738/0.1435, allocations: 39.19 kB / 0.5641 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1455, allocations: 1.697 MB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1459, allocations: 0.7041 MB / 0.5664 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.146, allocations: 20.48 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.146, allocations: 39.42 kB / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.146, allocations: 4 kB / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.1669, allocations: 3.561 MB / 0.57 GB, free: 7.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/8.628, allocations: 15.94 kB / 0.57 GB, free: 7.297 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.704228652000893] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.808236179000232 8.823653058 8.685624279 Calling exit ...