Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001839/0.001839, allocations: 113 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.002415/0.002415, allocations: 217.4 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.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.2304/0.2304, allocations: 46.91 MB / 357.8 MB, free: 10.32 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.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.91 kB / 0.4917 GB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1367, allocations: 65.98 MB / 0.5561 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00374/0.1405, allocations: 1.737 MB / 0.5578 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1423, allocations: 1.038 MB / 0.5589 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1424, allocations: 0 / 0.5589 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1428, allocations: 43.77 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.1432, allocations: 95.59 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.1435, allocations: 79.66 kB / 0.5591 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.1437, allocations: 107.6 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1438, allocations: 8 kB / 0.5592 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1439, allocations: 55.77 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.144, allocations: 23.86 kB / 0.5592 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.144, allocations: 4 kB / 0.5593 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1441, allocations: 43.98 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.1442, allocations: 27.91 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.1443, allocations: 39.67 kB / 0.5594 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1445, allocations: 119.4 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1445, allocations: 0 / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1445, allocations: 0 / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1445, allocations: 0 / 0.5595 GB, free: 2.32 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.0006291/0.1452, allocations: 422.7 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1452, allocations: 12.03 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.413e-05/0.1452, allocations: 192 / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1452, allocations: 34.75 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.1453, allocations: 12.89 kB / 0.5599 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.1456, allocations: 219.1 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1456, allocations: 8.125 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1456, allocations: 4 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1458, allocations: 57.67 kB / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1458, allocations: 0 / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1458, allocations: 3.984 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1458, allocations: 3.938 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.1459, allocations: 19.98 kB / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1463, allocations: 288.8 kB / 0.5605 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1465, allocations: 62.62 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.1466, allocations: 20.84 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1466, allocations: 0 / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.1468, allocations: 63.39 kB / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1468, allocations: 0 / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00057/0.1473, allocations: 177.3 kB / 0.5608 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1474, allocations: 55.41 kB / 0.5609 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1476, allocations: 198.3 kB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1476, allocations: 29.7 kB / 0.5611 GB, free: 468 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.1477, allocations: 104.1 kB / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.1477, allocations: 27.78 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.1478, allocations: 29.64 kB / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1479, allocations: 322.8 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.148, allocations: 20 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.148, allocations: 38.08 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1482, allocations: 61.77 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1482, allocations: 0 / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.1484, allocations: 109.5 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1484, allocations: 9.859 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1484, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1484, allocations: 4.031 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.1485, allocations: 16 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1485, allocations: 7.875 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.1485, allocations: 0 / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.1486, allocations: 7.984 kB / 0.5618 GB, free: 15.68 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.0001137/0.1487, allocations: 124 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1487, allocations: 15.91 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.1487, allocations: 17.39 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1487, allocations: 4 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1488, allocations: 7.938 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1488, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.1492, allocations: 387.3 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.1492, allocations: 7.938 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.1493, allocations: 11.98 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1493, allocations: 3.938 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1493, allocations: 0 / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1493, allocations: 0 / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1493, allocations: 8.031 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.1495, allocations: 200.3 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.1496, allocations: 88.95 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.1496, allocations: 7.984 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.1497, allocations: 4 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1497, allocations: 4 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1497, allocations: 11.98 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1499, allocations: 144.2 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1499, allocations: 192 / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1501, allocations: 27.92 kB / 0.5628 GB, free: 14.52 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.00221/0.1524, allocations: 1.096 MB / 0.5639 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.1526, allocations: 63.89 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1526, allocations: 0 / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.1526, allocations: 28.05 kB / 0.564 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.153, allocations: 32.86 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.155, allocations: 1.666 MB / 0.5657 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1553, allocations: 0.708 MB / 0.5663 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.1554, allocations: 16.88 kB / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.08e-05/0.1555, allocations: 35.42 kB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1555, allocations: 0 / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.1769, allocations: 3.527 MB / 0.5698 GB, free: 7.465 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/8.625, allocations: 3.938 kB / 0.5698 GB, free: 7.461 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.70077538699843] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.80936151795322 8.836829975 8.687292297 Calling exit ...