Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001742/0.001742, 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.002003/0.002003, 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.566/1.566, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2386/0.2386, allocations: 44.91 MB / 355.8 MB, free: 12.31 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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001968/0.001968, allocations: 68.19 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1415, allocations: 65.42 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003546/0.145, allocations: 1.733 MB / 0.5542 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1468, allocations: 1.031 MB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.1469, allocations: 3.938 kB / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.1473, allocations: 91.58 kB / 0.5553 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1476, allocations: 115.6 kB / 0.5554 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1478, allocations: 75.67 kB / 0.5555 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.148, allocations: 119.7 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.1481, allocations: 8.281 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1482, allocations: 63.64 kB / 0.5557 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1483, allocations: 63.8 kB / 0.5557 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1483, allocations: 4 kB / 0.5557 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1484, allocations: 43.98 kB / 0.5558 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.1485, allocations: 19.92 kB / 0.5558 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.1485, allocations: 47.66 kB / 0.5558 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.1488, allocations: 127.4 kB / 0.556 GB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1488, allocations: 0 / 0.556 GB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1488, allocations: 0 / 0.556 GB, free: 6.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1488, allocations: 0 / 0.556 GB, free: 6.5 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.0005742/0.1494, allocations: 434.5 kB / 0.5564 GB, free: 6.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1494, allocations: 8.031 kB / 0.5564 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.035e-05/0.1494, allocations: 4.188 kB / 0.5564 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.1494, allocations: 34.75 kB / 0.5564 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.1495, allocations: 20.83 kB / 0.5565 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1498, allocations: 216.1 kB / 0.5567 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1498, allocations: 4.125 kB / 0.5567 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1498, allocations: 7.984 kB / 0.5567 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.15, allocations: 57.61 kB / 0.5567 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.15, allocations: 0 / 0.5567 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.15, allocations: 4 kB / 0.5567 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.15, allocations: 0 / 0.5567 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.1501, allocations: 19.98 kB / 0.5567 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.1505, allocations: 296.9 kB / 0.557 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1506, allocations: 58.61 kB / 0.5571 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.1507, allocations: 16.86 kB / 0.5571 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1507, allocations: 3.984 kB / 0.5571 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.1509, allocations: 71.39 kB / 0.5572 GB, free: 5.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1509, allocations: 0 / 0.5572 GB, free: 5.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005868/0.1515, allocations: 177.3 kB / 0.5573 GB, free: 4.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1515, allocations: 55.39 kB / 0.5574 GB, free: 4.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1518, allocations: 227.4 kB / 0.5576 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1518, allocations: 29.64 kB / 0.5576 GB, free: 4.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.1519, allocations: 108.1 kB / 0.5577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.1519, allocations: 27.84 kB / 0.5578 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.152, allocations: 21.72 kB / 0.5578 GB, free: 4.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1521, allocations: 322.8 kB / 0.5581 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.1522, allocations: 27.92 kB / 0.5581 GB, free: 4.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.1522, allocations: 37.64 kB / 0.5582 GB, free: 4.016 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1524, allocations: 65.69 kB / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1524, allocations: 0 / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001923/0.1526, allocations: 101.6 kB / 0.5583 GB, free: 3.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1526, allocations: 8 kB / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1526, allocations: 80 / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1526, allocations: 0 / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.1527, allocations: 19.98 kB / 0.5583 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1527, allocations: 7.922 kB / 0.5584 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1527, allocations: 0 / 0.5584 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1527, allocations: 8 kB / 0.5584 GB, free: 3.797 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.0001129/0.1529, allocations: 136 kB / 0.5585 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1529, allocations: 11.91 kB / 0.5585 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.1529, allocations: 25.39 kB / 0.5585 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1529, allocations: 0 / 0.5585 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1529, allocations: 3.938 kB / 0.5585 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1529, allocations: 0 / 0.5585 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.1534, allocations: 399.3 kB / 0.5589 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1534, allocations: 4.031 kB / 0.5589 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.1535, allocations: 12.36 kB / 0.5589 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1535, allocations: 3.938 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1535, allocations: 0 / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.1535, allocations: 8 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1535, allocations: 0 / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.1537, allocations: 204.2 kB / 0.5591 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.1538, allocations: 96.98 kB / 0.5592 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1538, allocations: 0 / 0.5592 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1539, allocations: 11.94 kB / 0.5592 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1539, allocations: 4 kB / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1539, allocations: 7.984 kB / 0.5592 GB, free: 2.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1541, allocations: 161.2 kB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1541, allocations: 4 kB / 0.5594 GB, free: 2.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1543, allocations: 20 kB / 0.5594 GB, free: 2.598 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.002152/0.1565, allocations: 1.108 MB / 0.5605 GB, free: 1.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1567, allocations: 47.98 kB / 0.5606 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1567, allocations: 0 / 0.5606 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.1567, allocations: 32.08 kB / 0.5606 GB, free: 1.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1571, allocations: 35.86 kB / 0.5606 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.159, allocations: 1.722 MB / 0.5623 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1593, allocations: 0.7041 MB / 0.563 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.1594, allocations: 12.88 kB / 0.563 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.1595, allocations: 39.42 kB / 0.563 GB, free: 14.94 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1595, allocations: 4 kB / 0.563 GB, free: 14.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.1776, allocations: 3.629 MB / 0.5666 GB, free: 11.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.455, allocations: 8 kB / 0.5666 GB, free: 11.38 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.704111134982668] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.633903592010029 8.649678138 8.497877076 Calling exit ...