Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.002004/0.002004, allocations: 112.2 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.002519/0.002519, allocations: 219 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.527/1.527, 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.2569/0.2569, allocations: 46.91 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.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.91 kB / 0.4917 GB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1232, allocations: 65.99 MB / 0.5561 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003283/0.1265, allocations: 1.692 MB / 0.5578 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1283, allocations: 1.019 MB / 0.5588 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.1284, allocations: 4 kB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1287, allocations: 67.67 kB / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1291, allocations: 103.6 kB / 0.5589 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.1293, allocations: 75.67 kB / 0.559 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1295, allocations: 107.7 kB / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.1295, allocations: 240 / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1296, allocations: 51.78 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1297, allocations: 51.75 kB / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1298, allocations: 4 kB / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.1299, allocations: 35.98 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1299, allocations: 19.94 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.13, allocations: 43.66 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1302, allocations: 95.59 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1302, allocations: 0 / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1302, allocations: 0 / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1302, allocations: 0 / 0.5594 GB, free: 2.371 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005849/0.1308, allocations: 414.7 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1308, allocations: 12.03 kB / 0.5598 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.381e-05/0.1308, allocations: 4.188 kB / 0.5598 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.1309, allocations: 34.75 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.1309, allocations: 12.84 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1312, allocations: 207.2 kB / 0.5601 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1312, allocations: 4.125 kB / 0.5601 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1312, allocations: 7.938 kB / 0.5601 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1314, allocations: 53.66 kB / 0.5601 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1314, allocations: 0 / 0.5601 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.1314, allocations: 0 / 0.5601 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1314, allocations: 4 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.1315, allocations: 19.98 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.1317, allocations: 181.6 kB / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1319, allocations: 62.42 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.132, allocations: 16.86 kB / 0.5604 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.132, allocations: 3.984 kB / 0.5604 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1322, allocations: 71.39 kB / 0.5605 GB, free: 1.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1322, allocations: 0 / 0.5605 GB, free: 1.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003085/0.1325, allocations: 93.62 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1325, allocations: 55.34 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1327, allocations: 194.4 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1327, allocations: 33.64 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.1328, allocations: 104.1 kB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1328, allocations: 15.89 kB / 0.5609 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.1329, allocations: 21.72 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.133, allocations: 326.8 kB / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.1331, allocations: 11.98 kB / 0.5613 GB, free: 228 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.1331, allocations: 29.7 kB / 0.5613 GB, free: 192 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1332, allocations: 41.66 kB / 0.5614 GB, free: 144 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1332, allocations: 4 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001698/0.1334, allocations: 89.52 kB / 0.5614 GB, free: 44 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1334, allocations: 4 kB / 0.5614 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1334, allocations: 0 / 0.5614 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1334, allocations: 4 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.1335, allocations: 8 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1335, allocations: 0 / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1336, allocations: 11.88 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1336, allocations: 0 / 0.5615 GB, free: 16 kB / 414.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 (7): * Single equations (assignments): 7 * 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.0001243/0.1337, allocations: 138.5 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.1337, allocations: 11.95 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.1338, allocations: 16.98 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1338, allocations: 0 / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1338, allocations: 0 / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1338, allocations: 0 / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1339, allocations: 189.5 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1339, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.134, allocations: 7.984 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.134, allocations: 4.312 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.134, allocations: 4 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.134, allocations: 7.938 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.134, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.1342, allocations: 112.9 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.1342, allocations: 85.06 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1343, allocations: 0 / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.1343, allocations: 0 / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1343, allocations: 11.98 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1343, allocations: 4 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1345, allocations: 148.2 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1345, allocations: 0 / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1347, allocations: 16 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001938/0.1366, allocations: 0.9606 MB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1368, allocations: 35.92 kB / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1368, allocations: 0 / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.1369, allocations: 19.98 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.1371, allocations: 23.98 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.1389, allocations: 1.517 MB / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1392, allocations: 0.7041 MB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.1393, allocations: 8.562 kB / 0.5654 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.1393, allocations: 27.42 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1393, allocations: 0 / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.1593, allocations: 3.224 MB / 0.5686 GB, free: 8.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.553, allocations: 7.297 kB / 0.5686 GB, free: 8.75 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.80092692002654] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.734519495046698 8.763594285 8.628272442 Calling exit ...