Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001297/0.001297, 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.001359/0.001359, 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.478/1.478, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2151/0.2151, allocations: 44.92 MB / 355.8 MB, free: 12.32 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.002216/0.002216, allocations: 75.88 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1196, allocations: 65.42 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003571/0.1232, allocations: 1.732 MB / 0.5542 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.125, allocations: 1.031 MB / 0.5552 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.599e-05/0.1251, allocations: 3.938 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1254, allocations: 39.77 kB / 0.5553 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.1258, allocations: 99.53 kB / 0.5554 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1261, allocations: 79.67 kB / 0.5554 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1263, allocations: 107.7 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1264, allocations: 8.281 kB / 0.5555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1266, allocations: 47.72 kB / 0.5556 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.1267, allocations: 39.78 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1267, allocations: 4 kB / 0.5556 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1268, allocations: 43.98 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.1268, allocations: 15.92 kB / 0.5557 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.1269, allocations: 31.75 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1271, allocations: 115.5 kB / 0.5558 GB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1271, allocations: 8 kB / 0.5558 GB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1271, allocations: 0 / 0.5558 GB, free: 6.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1271, allocations: 0 / 0.5558 GB, free: 6.648 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.0006334/0.1278, allocations: 422.6 kB / 0.5562 GB, free: 6.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1278, allocations: 8.031 kB / 0.5562 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.576e-05/0.1278, allocations: 4.188 kB / 0.5563 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.1279, allocations: 38.73 kB / 0.5563 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.1279, allocations: 16.78 kB / 0.5563 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.1282, allocations: 210.4 kB / 0.5565 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1282, allocations: 8.125 kB / 0.5565 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1282, allocations: 4 kB / 0.5565 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1284, allocations: 53.67 kB / 0.5566 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1284, allocations: 0 / 0.5566 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1284, allocations: 3.938 kB / 0.5566 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1284, allocations: 7.984 kB / 0.5566 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.1285, allocations: 15.98 kB / 0.5566 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.1289, allocations: 292.8 kB / 0.5569 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1291, allocations: 54.67 kB / 0.5569 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.1291, allocations: 24.8 kB / 0.5569 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1292, allocations: 0 / 0.5569 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1293, allocations: 67.39 kB / 0.557 GB, free: 5.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.1293, allocations: 0 / 0.557 GB, free: 5.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006105/0.1299, allocations: 181.3 kB / 0.5572 GB, free: 5.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.13, allocations: 51.41 kB / 0.5572 GB, free: 5.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1302, allocations: 189.6 kB / 0.5574 GB, free: 4.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.1302, allocations: 25.7 kB / 0.5574 GB, free: 4.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.1303, allocations: 100.1 kB / 0.5575 GB, free: 4.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1303, allocations: 23.8 kB / 0.5576 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.1304, allocations: 29.7 kB / 0.5576 GB, free: 4.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1306, allocations: 326.8 kB / 0.5579 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.1306, allocations: 12 kB / 0.5579 GB, free: 4.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.1307, allocations: 37.7 kB / 0.5579 GB, free: 4.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1308, allocations: 61.64 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1308, allocations: 0 / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002177/0.131, allocations: 109.5 kB / 0.5581 GB, free: 4.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.131, allocations: 7.984 kB / 0.5581 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1311, allocations: 0 / 0.5581 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1311, allocations: 3.938 kB / 0.5581 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.1312, allocations: 20 kB / 0.5581 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1312, allocations: 3.938 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.1312, allocations: 4 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1312, allocations: 3.984 kB / 0.5582 GB, free: 4.031 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 (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.0001361/0.1314, allocations: 125.9 kB / 0.5583 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1314, allocations: 12.14 kB / 0.5583 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.1315, allocations: 17.39 kB / 0.5583 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1315, allocations: 7.875 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1315, allocations: 3.938 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1315, allocations: 0 / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.132, allocations: 391.3 kB / 0.5587 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.132, allocations: 3.938 kB / 0.5587 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.132, allocations: 11.98 kB / 0.5587 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.132, allocations: 7.969 kB / 0.5587 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.132, allocations: 4.375 kB / 0.5587 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.132, allocations: 0 / 0.5587 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.132, allocations: 0 / 0.5587 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1323, allocations: 200.3 kB / 0.5589 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.1324, allocations: 92.95 kB / 0.559 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1324, allocations: 4 kB / 0.559 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.1325, allocations: 7.984 kB / 0.559 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1325, allocations: 11.94 kB / 0.559 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.1326, allocations: 0 / 0.559 GB, free: 3.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1327, allocations: 141.8 kB / 0.5591 GB, free: 2.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1327, allocations: 0 / 0.5591 GB, free: 2.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.133, allocations: 23.94 kB / 0.5592 GB, free: 2.875 MB / 414.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.002341/0.1353, allocations: 1.093 MB / 0.5602 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1355, allocations: 59.91 kB / 0.5603 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1355, allocations: 4 kB / 0.5603 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.1356, allocations: 27.92 kB / 0.5603 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.1359, allocations: 29.22 kB / 0.5604 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.1381, allocations: 1.649 MB / 0.562 GB, free: 84 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.1386, allocations: 0.7002 MB / 0.5626 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.288e-05/0.1387, allocations: 21.17 kB / 0.5627 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.1388, allocations: 35.42 kB / 0.5627 GB, free: 15.3 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1388, allocations: 0 / 0.5627 GB, free: 15.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.1587, allocations: 3.457 MB / 0.5661 GB, free: 11.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.709, allocations: 22.75 kB / 0.5661 GB, free: 11.9 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.695082503021695] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.888605555985123 8.903918669 8.77383624 Calling exit ...