Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001323/0.001323, 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.001399/0.001399, 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.487/1.487, 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.2186/0.2186, allocations: 44.91 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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",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.002083/0.002083, allocations: 71.91 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1304, allocations: 65.42 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003487/0.1338, allocations: 1.735 MB / 0.5542 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1358, allocations: 1.034 MB / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.1359, allocations: 4 kB / 0.5552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1362, allocations: 43.7 kB / 0.5553 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.1365, allocations: 91.55 kB / 0.5554 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1368, allocations: 83.72 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.137, allocations: 103.7 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.1371, allocations: 20.2 kB / 0.5556 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1372, allocations: 43.78 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.1373, allocations: 27.86 kB / 0.5556 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1373, allocations: 4 kB / 0.5556 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1374, allocations: 47.97 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.1375, allocations: 23.86 kB / 0.5557 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.1375, allocations: 35.75 kB / 0.5557 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1378, allocations: 119.4 kB / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1378, allocations: 4 kB / 0.5559 GB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1378, allocations: 0 / 0.5559 GB, free: 6.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1378, allocations: 0 / 0.5559 GB, free: 6.617 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.000599/0.1384, allocations: 426.6 kB / 0.5563 GB, free: 6.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1384, allocations: 8.031 kB / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.51e-05/0.1384, allocations: 4.188 kB / 0.5563 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.1385, allocations: 30.75 kB / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1385, allocations: 12.89 kB / 0.5563 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.1389, allocations: 223.1 kB / 0.5565 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1389, allocations: 8.125 kB / 0.5565 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.1389, allocations: 0 / 0.5565 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1391, allocations: 53.67 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1391, allocations: 0 / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.1391, allocations: 0 / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1391, allocations: 4 kB / 0.5566 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.1392, allocations: 19.98 kB / 0.5566 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1396, allocations: 292.8 kB / 0.5569 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.1399, allocations: 50.67 kB / 0.5569 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.1399, allocations: 20.84 kB / 0.557 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1399, allocations: 0 / 0.557 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.1401, allocations: 75.27 kB / 0.557 GB, free: 5.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1401, allocations: 4 kB / 0.557 GB, free: 5.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006162/0.1407, allocations: 181.3 kB / 0.5572 GB, free: 5.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1408, allocations: 55.34 kB / 0.5573 GB, free: 4.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.141, allocations: 198.3 kB / 0.5574 GB, free: 4.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.141, allocations: 29.7 kB / 0.5575 GB, free: 4.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.1411, allocations: 100.1 kB / 0.5576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1411, allocations: 19.86 kB / 0.5576 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.1412, allocations: 29.7 kB / 0.5576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1413, allocations: 326.8 kB / 0.5579 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.1414, allocations: 19.94 kB / 0.5579 GB, free: 4.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.1415, allocations: 33.7 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1416, allocations: 66.02 kB / 0.558 GB, free: 4.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1416, allocations: 0 / 0.558 GB, free: 4.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002131/0.1418, allocations: 97.59 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1418, allocations: 8 kB / 0.5581 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1418, allocations: 4 kB / 0.5581 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1419, allocations: 3.984 kB / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.142, allocations: 15.94 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.142, allocations: 3.938 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.142, allocations: 8 kB / 0.5582 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.142, allocations: 4 kB / 0.5582 GB, free: 3.988 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.0001141/0.1421, allocations: 129.2 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.1422, allocations: 19.89 kB / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.1422, allocations: 21.39 kB / 0.5583 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1422, allocations: 0 / 0.5583 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.1422, allocations: 3.938 kB / 0.5583 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1422, allocations: 0 / 0.5583 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.1427, allocations: 395.3 kB / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1427, allocations: 0 / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.1428, allocations: 11.98 kB / 0.5587 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.1428, allocations: 7.969 kB / 0.5587 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1428, allocations: 4 kB / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1428, allocations: 0 / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1428, allocations: 3.938 kB / 0.5588 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.1431, allocations: 204.3 kB / 0.5589 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.1432, allocations: 92.95 kB / 0.559 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1432, allocations: 3.984 kB / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.1433, allocations: 8 kB / 0.559 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.1433, allocations: 8 kB / 0.5591 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1433, allocations: 7.984 kB / 0.5591 GB, free: 2.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1435, allocations: 144.2 kB / 0.5592 GB, free: 2.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1435, allocations: 0 / 0.5592 GB, free: 2.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1437, allocations: 23.98 kB / 0.5592 GB, free: 2.812 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.002251/0.146, allocations: 1.096 MB / 0.5603 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1462, allocations: 59.91 kB / 0.5603 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1462, allocations: 0 / 0.5603 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.1463, allocations: 31.97 kB / 0.5604 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1466, allocations: 31.92 kB / 0.5604 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.1487, allocations: 1.661 MB / 0.562 GB, free: 0 / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.1492, allocations: 0.708 MB / 0.5627 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.1492, allocations: 17.17 kB / 0.5627 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.1493, allocations: 35.42 kB / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1493, allocations: 0 / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.169, allocations: 3.519 MB / 0.5662 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/8.692, allocations: 8 kB / 0.5662 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.723061199998483] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.877090942987707 8.902619413 8.760107908 Calling exit ...