Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001921/0.001921, allocations: 120.1 kB / 18.49 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.002313/0.002313, allocations: 215 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.539/1.539, 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.244/0.244, allocations: 46.92 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.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.91 kB / 0.4917 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1369, allocations: 65.98 MB / 0.5561 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003333/0.1402, allocations: 1.739 MB / 0.5578 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.142, allocations: 1.038 MB / 0.5589 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.1421, allocations: 0 / 0.5589 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1424, allocations: 43.77 kB / 0.5589 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.1427, allocations: 95.59 kB / 0.559 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.143, allocations: 71.67 kB / 0.5591 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1432, allocations: 107.6 kB / 0.5592 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1433, allocations: 19.97 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1434, allocations: 39.8 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.1435, allocations: 35.84 kB / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1435, allocations: 4 kB / 0.5593 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1436, allocations: 47.97 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.1437, allocations: 19.92 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.1437, allocations: 35.69 kB / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.144, allocations: 115.4 kB / 0.5595 GB, free: 2.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.144, allocations: 4 kB / 0.5595 GB, free: 2.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.144, allocations: 4 kB / 0.5595 GB, free: 2.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.144, allocations: 0 / 0.5595 GB, free: 2.336 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.0006032/0.1446, allocations: 422.7 kB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1446, allocations: 12.03 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.141e-05/0.1446, allocations: 4.188 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.1447, allocations: 34.73 kB / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.1447, allocations: 8.891 kB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.145, allocations: 219.1 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1451, allocations: 12.12 kB / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1451, allocations: 4 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1452, allocations: 53.67 kB / 0.5602 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1452, allocations: 4 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1453, allocations: 0 / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1453, allocations: 0 / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.365e-05/0.1453, allocations: 23.92 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.1457, allocations: 288.8 kB / 0.5605 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1459, allocations: 58.67 kB / 0.5606 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.146, allocations: 16.86 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.146, allocations: 4 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1462, allocations: 67.38 kB / 0.5606 GB, free: 0.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1462, allocations: 0 / 0.5606 GB, free: 0.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005781/0.1468, allocations: 185.3 kB / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.1468, allocations: 55.41 kB / 0.5609 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.147, allocations: 198.3 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.147, allocations: 33.64 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1471, allocations: 100.1 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.1472, allocations: 27.78 kB / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.1472, allocations: 21.72 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1474, allocations: 322.8 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.1474, allocations: 27.98 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.1475, allocations: 33.7 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1476, allocations: 57.7 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1476, allocations: 0 / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002175/0.1478, allocations: 105.5 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1479, allocations: 9.875 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1479, allocations: 4.031 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1479, allocations: 0 / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.148, allocations: 19.92 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.148, allocations: 12.08 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.1481, allocations: 0 / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1481, allocations: 4 kB / 0.5618 GB, free: 15.7 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.0001185/0.1482, allocations: 129.4 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1482, allocations: 15.91 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.1483, allocations: 17.59 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1483, allocations: 0 / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1483, allocations: 7.875 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1483, allocations: 3.984 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.1488, allocations: 387.3 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1488, allocations: 0 / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.1488, allocations: 11.94 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1488, allocations: 7.938 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1488, allocations: 3.984 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1488, allocations: 4.031 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1488, allocations: 0 / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1491, allocations: 208.3 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.1492, allocations: 88.95 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1492, allocations: 8 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1493, allocations: 3.984 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1493, allocations: 8.375 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1493, allocations: 4 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1494, allocations: 148.2 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1494, allocations: 0 / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1497, allocations: 23.94 kB / 0.5628 GB, free: 14.53 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.002249/0.152, allocations: 1.094 MB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.1522, allocations: 63.89 kB / 0.564 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1522, allocations: 4.062 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/0.1523, allocations: 20 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1527, allocations: 43.52 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.002227/0.1549, allocations: 1.662 MB / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.1555, allocations: 0.7041 MB / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.1556, allocations: 16.88 kB / 0.5664 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.1557, allocations: 39.36 kB / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1557, allocations: 0 / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.1761, allocations: 3.515 MB / 0.5698 GB, free: 7.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/8.567, allocations: 8 kB / 0.5698 GB, free: 7.48 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.690811311011203] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.749830992950592 8.776697174 8.628095119 Calling exit ...