Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001289/0.001289, 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.00143/0.00143, 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.529/1.529, 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.2263/0.2263, allocations: 46.92 MB / 357.8 MB, free: 10.29 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.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 75.89 kB / 0.4917 GB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1263, allocations: 65.98 MB / 0.5561 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003086/0.1294, allocations: 1.737 MB / 0.5578 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1311, allocations: 1.034 MB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.1312, allocations: 3.938 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.1314, allocations: 35.83 kB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1317, allocations: 95.55 kB / 0.559 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.1319, allocations: 75.67 kB / 0.5591 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1321, allocations: 107.7 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.1322, allocations: 15.97 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.1323, allocations: 43.8 kB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.1324, allocations: 35.78 kB / 0.5592 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1324, allocations: 4 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.437e-05/0.1325, allocations: 47.97 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1325, allocations: 19.92 kB / 0.5593 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.1326, allocations: 31.75 kB / 0.5593 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.1328, allocations: 115.5 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1328, allocations: 0 / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1328, allocations: 0 / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1328, allocations: 0 / 0.5595 GB, free: 2.285 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.000592/0.1334, allocations: 426.6 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1334, allocations: 8.031 kB / 0.5599 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.346e-05/0.1335, allocations: 4.188 kB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1335, allocations: 38.73 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.1335, allocations: 12.84 kB / 0.5599 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1338, allocations: 210.4 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1339, allocations: 8.125 kB / 0.5601 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1339, allocations: 4 kB / 0.5601 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.134, allocations: 53.67 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.134, allocations: 3.938 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1341, allocations: 4 kB / 0.5602 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.1341, allocations: 4 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.1341, allocations: 15.98 kB / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1345, allocations: 288.9 kB / 0.5605 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1347, allocations: 54.62 kB / 0.5605 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/0.1347, allocations: 20.84 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1348, allocations: 0 / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1349, allocations: 67.39 kB / 0.5606 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1349, allocations: 0 / 0.5606 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005549/0.1355, allocations: 185.5 kB / 0.5608 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1355, allocations: 55.41 kB / 0.5609 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1357, allocations: 185.6 kB / 0.561 GB, free: 480 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1357, allocations: 33.69 kB / 0.5611 GB, free: 440 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.1358, allocations: 96.14 kB / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.1358, allocations: 23.84 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.1359, allocations: 21.72 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.136, allocations: 322.8 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.1361, allocations: 28.11 kB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.1362, allocations: 45.64 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1363, allocations: 57.7 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1363, allocations: 0 / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.1365, allocations: 101.5 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1365, allocations: 4 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1365, allocations: 0 / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1365, allocations: 4.031 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.1366, allocations: 19.98 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1366, allocations: 3.938 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1367, allocations: 8 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1367, allocations: 0 / 0.5618 GB, free: 15.67 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.0001097/0.1368, allocations: 121.8 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1368, allocations: 15.89 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1369, allocations: 13.41 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1369, allocations: 4 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1369, allocations: 3.938 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1369, allocations: 0 / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.1374, allocations: 399.3 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1374, allocations: 0 / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.1374, allocations: 12 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1374, allocations: 3.938 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1374, allocations: 4 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1374, allocations: 0 / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1374, allocations: 4.266 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1377, allocations: 204.3 kB / 0.5625 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.1377, allocations: 96.95 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1377, allocations: 0 / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.1378, allocations: 7.938 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.1378, allocations: 11.97 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1379, allocations: 8.188 kB / 0.5626 GB, free: 14.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.138, allocations: 141.8 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.138, allocations: 3.938 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1382, allocations: 27.88 kB / 0.5628 GB, free: 14.5 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.002137/0.1404, allocations: 1.087 MB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1406, allocations: 55.91 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1406, allocations: 0 / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.1406, allocations: 39.97 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.141, allocations: 23.36 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.001852/0.1428, allocations: 1.642 MB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1432, allocations: 0.7118 MB / 0.5663 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.1432, allocations: 16.86 kB / 0.5663 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.1433, allocations: 35.42 kB / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1433, allocations: 0 / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.1626, allocations: 3.462 MB / 0.5697 GB, free: 7.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.611, allocations: 21.98 kB / 0.5697 GB, free: 7.531 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.714929094014224] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.791357842972502 8.807360799 8.670998185 Calling exit ...