Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001347/0.001347, 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.001469/0.001469, 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.507/1.507, 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.2345/0.2345, 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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.002136/0.002136, allocations: 63.91 kB / 0.4886 GB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1284, allocations: 65.44 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003521/0.132, allocations: 1.693 MB / 0.5542 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1339, allocations: 1.015 MB / 0.5552 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.134, allocations: 3.938 kB / 0.5552 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.1343, allocations: 59.75 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.1347, allocations: 91.61 kB / 0.5553 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.1349, allocations: 79.66 kB / 0.5554 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1352, allocations: 95.69 kB / 0.5555 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.1352, allocations: 8.234 kB / 0.5555 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1354, allocations: 39.78 kB / 0.5555 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1355, allocations: 43.72 kB / 0.5556 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1355, allocations: 4 kB / 0.5556 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1356, allocations: 28 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.026e-05/0.1357, allocations: 27.89 kB / 0.5556 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.222e-05/0.1358, allocations: 39.69 kB / 0.5557 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1361, allocations: 123.7 kB / 0.5558 GB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1361, allocations: 0 / 0.5558 GB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1361, allocations: 0 / 0.5558 GB, free: 6.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.1361, allocations: 0 / 0.5558 GB, free: 6.707 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.0007649/0.1368, allocations: 450.4 kB / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1369, allocations: 15.97 kB / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.525e-05/0.1369, allocations: 192 / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.137, allocations: 38.75 kB / 0.5563 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.137, allocations: 12.89 kB / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.1374, allocations: 221.1 kB / 0.5565 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1374, allocations: 4.125 kB / 0.5565 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1374, allocations: 0 / 0.5565 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1376, allocations: 53.67 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1376, allocations: 3.938 kB / 0.5565 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1376, allocations: 4 kB / 0.5565 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1376, allocations: 0 / 0.5565 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/0.1377, allocations: 15.92 kB / 0.5566 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.138, allocations: 189.7 kB / 0.5567 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1382, allocations: 54.55 kB / 0.5568 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.1382, allocations: 16.84 kB / 0.5568 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1383, allocations: 8 kB / 0.5568 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.1384, allocations: 67.33 kB / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.1384, allocations: 0 / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003401/0.1388, allocations: 97.58 kB / 0.557 GB, free: 5.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.1388, allocations: 51.41 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.1392, allocations: 275.7 kB / 0.5573 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1392, allocations: 29.7 kB / 0.5573 GB, free: 4.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.1393, allocations: 116.1 kB / 0.5574 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.1394, allocations: 15.89 kB / 0.5574 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.1394, allocations: 17.72 kB / 0.5575 GB, free: 4.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1396, allocations: 326.8 kB / 0.5578 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.1397, allocations: 15.98 kB / 0.5578 GB, free: 4.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.1397, allocations: 33.64 kB / 0.5578 GB, free: 4.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1399, allocations: 45.66 kB / 0.5579 GB, free: 4.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1399, allocations: 0 / 0.5579 GB, free: 4.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001958/0.1401, allocations: 89.52 kB / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1401, allocations: 4 kB / 0.5579 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1401, allocations: 4.312 kB / 0.5579 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1401, allocations: 0 / 0.5579 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.465e-05/0.1402, allocations: 11.94 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1402, allocations: 4 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.1402, allocations: 19.97 kB / 0.558 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.1402, allocations: 0 / 0.558 GB, free: 4.191 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.0001349/0.1404, allocations: 139.9 kB / 0.5581 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.1404, allocations: 15.91 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.1405, allocations: 17 kB / 0.5581 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1405, allocations: 0 / 0.5581 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1405, allocations: 0 / 0.5581 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1405, allocations: 3.938 kB / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.1406, allocations: 209.5 kB / 0.5584 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1407, allocations: 4 kB / 0.5584 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.1407, allocations: 0 / 0.5584 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1407, allocations: 4 kB / 0.5584 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1407, allocations: 0 / 0.5584 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1407, allocations: 0 / 0.5584 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1407, allocations: 3.938 kB / 0.5584 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1409, allocations: 117 kB / 0.5585 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.141, allocations: 92.95 kB / 0.5586 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.141, allocations: 4 kB / 0.5586 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.141, allocations: 7.984 kB / 0.5586 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1411, allocations: 4 kB / 0.5586 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1411, allocations: 0 / 0.5586 GB, free: 3.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.1413, allocations: 204.6 kB / 0.5588 GB, free: 3.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1413, allocations: 0 / 0.5588 GB, free: 3.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1415, allocations: 19.94 kB / 0.5588 GB, free: 3.27 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.002135/0.1437, allocations: 0.957 MB / 0.5597 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1439, allocations: 39.92 kB / 0.5598 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1439, allocations: 0 / 0.5598 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.896e-05/0.1439, allocations: 19.98 kB / 0.5598 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1442, allocations: 29.05 kB / 0.5598 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.1467, allocations: 1.69 MB / 0.5615 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.1472, allocations: 0.7119 MB / 0.5622 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.616e-05/0.1473, allocations: 20.78 kB / 0.5622 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1474, allocations: 39.42 kB / 0.5622 GB, free: 15.78 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1474, allocations: 0 / 0.5622 GB, free: 15.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.1678, allocations: 3.554 MB / 0.5657 GB, free: 12.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.57, allocations: 12.94 kB / 0.5657 GB, free: 12.29 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.640293968026526] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.754290462995414 8.778781432 8.638305715 Calling exit ...