Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001958/0.001958, allocations: 116.9 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.002127/0.002127, allocations: 217.4 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.542/1.542, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2154/0.2154, 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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.002015/0.002015, allocations: 67.91 kB / 0.4886 GB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1161, allocations: 65.42 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00321/0.1193, allocations: 1.737 MB / 0.5542 GB, free: 8.289 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1219, allocations: 1.645 MB / 0.5558 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.1219, allocations: 0 / 0.5558 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1222, allocations: 35.77 kB / 0.5559 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.1225, allocations: 107.5 kB / 0.556 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.1228, allocations: 83.66 kB / 0.556 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.123, allocations: 103.7 kB / 0.5561 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.1231, allocations: 8.281 kB / 0.5562 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1232, allocations: 55.7 kB / 0.5562 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1233, allocations: 39.84 kB / 0.5562 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1233, allocations: 4 kB / 0.5562 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.1236, allocations: 107.9 kB / 0.5564 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.1236, allocations: 27.84 kB / 0.5564 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.1237, allocations: 27.81 kB / 0.5564 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.124, allocations: 179.3 kB / 0.5566 GB, free: 5.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.124, allocations: 0 / 0.5566 GB, free: 5.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.124, allocations: 0 / 0.5566 GB, free: 5.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.124, allocations: 0 / 0.5566 GB, free: 5.871 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.0006597/0.1247, allocations: 434.5 kB / 0.557 GB, free: 5.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1247, allocations: 12.03 kB / 0.557 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.404e-05/0.1247, allocations: 4.188 kB / 0.557 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.1247, allocations: 30.75 kB / 0.557 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.1248, allocations: 12.84 kB / 0.557 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1251, allocations: 221.2 kB / 0.5573 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-06/0.1251, allocations: 3.938 kB / 0.5573 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1252, allocations: 4 kB / 0.5573 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1253, allocations: 79.31 kB / 0.5573 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1253, allocations: 0 / 0.5573 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1253, allocations: 3.938 kB / 0.5573 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1253, allocations: 0 / 0.5573 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.1254, allocations: 19.98 kB / 0.5574 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.1258, allocations: 284.9 kB / 0.5576 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.126, allocations: 54.67 kB / 0.5577 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.126, allocations: 20.8 kB / 0.5577 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1261, allocations: 7.984 kB / 0.5577 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.1262, allocations: 71.39 kB / 0.5578 GB, free: 4.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1262, allocations: 0 / 0.5578 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005591/0.1268, allocations: 169.3 kB / 0.5579 GB, free: 4.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.1268, allocations: 81.09 kB / 0.558 GB, free: 4.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.127, allocations: 169.5 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.127, allocations: 25.7 kB / 0.5582 GB, free: 3.977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.1271, allocations: 96.14 kB / 0.5583 GB, free: 3.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.1271, allocations: 35.72 kB / 0.5583 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.1272, allocations: 25.72 kB / 0.5584 GB, free: 3.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1273, allocations: 326.8 kB / 0.5587 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.1274, allocations: 19.98 kB / 0.5587 GB, free: 3.465 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.1275, allocations: 42.56 kB / 0.5587 GB, free: 3.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1276, allocations: 57.69 kB / 0.5588 GB, free: 3.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1276, allocations: 0 / 0.5588 GB, free: 3.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002198/0.1278, allocations: 105.6 kB / 0.5589 GB, free: 3.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1278, allocations: 4 kB / 0.5589 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1278, allocations: 0 / 0.5589 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1278, allocations: 7.938 kB / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.1279, allocations: 15.98 kB / 0.5589 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1279, allocations: 0 / 0.5589 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.128, allocations: 4 kB / 0.5589 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.128, allocations: 4.031 kB / 0.5589 GB, free: 3.207 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.0001067/0.1281, allocations: 128 kB / 0.559 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.1281, allocations: 11.94 kB / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.1282, allocations: 16.66 kB / 0.5591 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1282, allocations: 11.88 kB / 0.5591 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1282, allocations: 0 / 0.5591 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1282, allocations: 192 / 0.5591 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.1287, allocations: 403.2 kB / 0.5595 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1287, allocations: 3.938 kB / 0.5595 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.1287, allocations: 11.98 kB / 0.5595 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1287, allocations: 0 / 0.5595 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1287, allocations: 8 kB / 0.5595 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1288, allocations: 0 / 0.5595 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1288, allocations: 0 / 0.5595 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.129, allocations: 200.3 kB / 0.5597 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.1291, allocations: 93.42 kB / 0.5598 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1291, allocations: 0 / 0.5598 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.1292, allocations: 8 kB / 0.5598 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1292, allocations: 11.92 kB / 0.5598 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1292, allocations: 4 kB / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1294, allocations: 123.2 kB / 0.5599 GB, free: 2.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1294, allocations: 0 / 0.5599 GB, free: 2.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1297, allocations: 47.86 kB / 0.56 GB, free: 2.043 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.00244/0.1321, allocations: 1.188 MB / 0.5611 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1323, allocations: 59.91 kB / 0.5612 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1323, allocations: 0 / 0.5612 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.1324, allocations: 31.91 kB / 0.5612 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1327, allocations: 43.7 kB / 0.5612 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1346, allocations: 1.593 MB / 0.5628 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.135, allocations: 0.7002 MB / 0.5635 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.135, allocations: 16.88 kB / 0.5635 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.1351, allocations: 39.42 kB / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1351, allocations: 0 / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.1565, allocations: 4.08 MB / 0.5675 GB, free: 10.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/8.615, allocations: 12.06 kB / 0.5675 GB, free: 10.37 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.695504349016119] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.811840276990552 8.83359533 8.705794749 Calling exit ...