Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001805/0.001805, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002125/0.002125, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.481/1.481, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.91 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1267, allocations: 65.41 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003065/0.1297, allocations: 1.699 MB / 0.5542 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1314, allocations: 1.008 MB / 0.5552 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.1315, allocations: 7.938 kB / 0.5552 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.1317, allocations: 55.73 kB / 0.5552 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.132, allocations: 103.6 kB / 0.5553 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.1322, allocations: 71.69 kB / 0.5554 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1324, allocations: 99.67 kB / 0.5555 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.1324, allocations: 4.234 kB / 0.5555 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.1325, allocations: 43.78 kB / 0.5555 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.1326, allocations: 35.73 kB / 0.5556 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1326, allocations: 4 kB / 0.5556 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.1327, allocations: 39.91 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.1327, allocations: 23.92 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.1328, allocations: 39.69 kB / 0.5557 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.133, allocations: 123.7 kB / 0.5558 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.133, allocations: 0 / 0.5558 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.133, allocations: 0 / 0.5558 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.133, allocations: 0 / 0.5558 GB, free: 6.711 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.0005779/0.1336, allocations: 450.4 kB / 0.5562 GB, free: 6.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1336, allocations: 11.97 kB / 0.5562 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.258e-05/0.1336, allocations: 4.188 kB / 0.5562 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.1337, allocations: 34.75 kB / 0.5563 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.1337, allocations: 8.891 kB / 0.5563 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.134, allocations: 221.1 kB / 0.5565 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.134, allocations: 12.11 kB / 0.5565 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1341, allocations: 4 kB / 0.5565 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1342, allocations: 45.67 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1342, allocations: 0 / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1342, allocations: 0 / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1342, allocations: 0 / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/0.1343, allocations: 27.92 kB / 0.5566 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.1345, allocations: 189.7 kB / 0.5567 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1347, allocations: 50.56 kB / 0.5568 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.1348, allocations: 20.84 kB / 0.5568 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1348, allocations: 0 / 0.5568 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.1349, allocations: 71.39 kB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1349, allocations: 3.938 kB / 0.5569 GB, free: 5.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002842/0.1352, allocations: 97.58 kB / 0.557 GB, free: 5.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1353, allocations: 55.39 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1355, allocations: 275.7 kB / 0.5573 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1355, allocations: 29.7 kB / 0.5573 GB, free: 4.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.1356, allocations: 108.1 kB / 0.5574 GB, free: 4.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1357, allocations: 19.89 kB / 0.5574 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1357, allocations: 21.72 kB / 0.5575 GB, free: 4.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1359, allocations: 330.8 kB / 0.5578 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/0.1359, allocations: 12 kB / 0.5578 GB, free: 4.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.136, allocations: 29.7 kB / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.1361, allocations: 45.58 kB / 0.5579 GB, free: 4.332 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1361, allocations: 8 kB / 0.5579 GB, free: 4.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.1362, allocations: 85.53 kB / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1363, allocations: 8 kB / 0.558 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1363, allocations: 0 / 0.558 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1363, allocations: 0 / 0.558 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.1363, allocations: 19.86 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1364, allocations: 4 kB / 0.558 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.1364, allocations: 3.953 kB / 0.558 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1364, allocations: 4 kB / 0.558 GB, free: 4.195 MB / 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.0001281/0.1365, allocations: 140 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1366, allocations: 15.91 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.1366, allocations: 20.98 kB / 0.5582 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1366, allocations: 0 / 0.5582 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1366, allocations: 0 / 0.5582 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1366, allocations: 0 / 0.5582 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.1368, allocations: 201.6 kB / 0.5583 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1368, allocations: 0 / 0.5583 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.1368, allocations: 8.25 kB / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1368, allocations: 0 / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1368, allocations: 8 kB / 0.5584 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1368, allocations: 0 / 0.5584 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1368, allocations: 3.984 kB / 0.5584 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.137, allocations: 113 kB / 0.5585 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.1371, allocations: 96.94 kB / 0.5586 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1371, allocations: 3.984 kB / 0.5586 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.1372, allocations: 4 kB / 0.5586 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.1372, allocations: 4 kB / 0.5586 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.1372, allocations: 7.984 kB / 0.5586 GB, free: 3.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.1374, allocations: 196.6 kB / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1374, allocations: 0 / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.1376, allocations: 20 kB / 0.5588 GB, free: 3.277 MB / 414.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.001996/0.1396, allocations: 0.9602 MB / 0.5597 GB, free: 2.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.1398, allocations: 47.91 kB / 0.5598 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1398, allocations: 4 kB / 0.5598 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.1399, allocations: 12 kB / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1401, allocations: 27.52 kB / 0.5598 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.142, allocations: 1.69 MB / 0.5615 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1424, allocations: 0.7119 MB / 0.5622 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.736e-05/0.1424, allocations: 12.53 kB / 0.5622 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.1425, allocations: 43.42 kB / 0.5622 GB, free: 15.79 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1425, allocations: 0 / 0.5622 GB, free: 15.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.1614, allocations: 3.549 MB / 0.5657 GB, free: 12.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/8.684, allocations: 12.94 kB / 0.5657 GB, free: 12.31 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.732822542020585] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.865029688982759 8.886722676 8.749598693 Calling exit ...