Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001694/0.001694, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002039/0.002039, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.505/1.505, 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.2326/0.2326, allocations: 44.91 MB / 355.8 MB, free: 12.3 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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001962/0.001962, allocations: 75.88 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1415, allocations: 65.41 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003446/0.145, allocations: 1.832 MB / 0.5543 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.1478, allocations: 1.711 MB / 0.556 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.1478, allocations: 7.938 kB / 0.556 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1481, allocations: 47.69 kB / 0.556 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.1485, allocations: 143.3 kB / 0.5561 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1488, allocations: 99.69 kB / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1491, allocations: 219.3 kB / 0.5565 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.1491, allocations: 5.688 kB / 0.5565 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1493, allocations: 91.56 kB / 0.5565 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.1495, allocations: 87.61 kB / 0.5566 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.1495, allocations: 8 kB / 0.5566 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.1497, allocations: 111.9 kB / 0.5567 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.1498, allocations: 39.77 kB / 0.5568 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.1499, allocations: 63.61 kB / 0.5568 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.1502, allocations: 227.4 kB / 0.5571 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1502, allocations: 0 / 0.5571 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1502, allocations: 3.938 kB / 0.5571 GB, free: 5.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1502, allocations: 4 kB / 0.5571 GB, free: 5.355 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007518/0.151, allocations: 0.4941 MB / 0.5575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.151, allocations: 8.031 kB / 0.5576 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.29e-05/0.1511, allocations: 4.188 kB / 0.5576 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.1511, allocations: 38.75 kB / 0.5576 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.1512, allocations: 16.84 kB / 0.5576 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1516, allocations: 259.9 kB / 0.5579 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1516, allocations: 16.12 kB / 0.5579 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1516, allocations: 7.984 kB / 0.5579 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1518, allocations: 101 kB / 0.558 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1518, allocations: 0 / 0.558 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1518, allocations: 4 kB / 0.558 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1518, allocations: 0 / 0.558 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.152, allocations: 35.97 kB / 0.558 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.1522, allocations: 222.5 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1525, allocations: 101.2 kB / 0.5583 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.1526, allocations: 37.7 kB / 0.5584 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1526, allocations: 0 / 0.5584 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.1529, allocations: 113 kB / 0.5585 GB, free: 3.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1529, allocations: 0 / 0.5585 GB, free: 3.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004866/0.1534, allocations: 173.4 kB / 0.5586 GB, free: 3.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.1535, allocations: 128.5 kB / 0.5588 GB, free: 3.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.1538, allocations: 240.2 kB / 0.559 GB, free: 3.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.1538, allocations: 29.7 kB / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.1539, allocations: 116.1 kB / 0.5591 GB, free: 2.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1539, allocations: 31.73 kB / 0.5592 GB, free: 2.945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.154, allocations: 29.72 kB / 0.5592 GB, free: 2.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1541, allocations: 330.8 kB / 0.5595 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.1542, allocations: 35.92 kB / 0.5595 GB, free: 2.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1543, allocations: 69.12 kB / 0.5596 GB, free: 2.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.1545, allocations: 95.83 kB / 0.5597 GB, free: 2.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1545, allocations: 0 / 0.5597 GB, free: 2.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002829/0.1548, allocations: 133.5 kB / 0.5598 GB, free: 2.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1548, allocations: 6.344 kB / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1548, allocations: 3.984 kB / 0.5598 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1549, allocations: 4 kB / 0.5598 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.155, allocations: 19.94 kB / 0.5599 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.155, allocations: 4 kB / 0.5599 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.004e-05/0.1551, allocations: 23.94 kB / 0.5599 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1551, allocations: 4 kB / 0.5599 GB, free: 2.152 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001809/0.1553, allocations: 139.9 kB / 0.56 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.1553, allocations: 15.91 kB / 0.56 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.1554, allocations: 21 kB / 0.56 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1554, allocations: 0 / 0.56 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1554, allocations: 3.984 kB / 0.5601 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1554, allocations: 3.938 kB / 0.5601 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1556, allocations: 229.5 kB / 0.5603 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1556, allocations: 4 kB / 0.5603 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.1556, allocations: 11.94 kB / 0.5603 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1556, allocations: 0 / 0.5603 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1556, allocations: 3.984 kB / 0.5603 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1556, allocations: 4 kB / 0.5603 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1556, allocations: 0 / 0.5603 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.156, allocations: 169.7 kB / 0.5605 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.156, allocations: 97 kB / 0.5606 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.1561, allocations: 8 kB / 0.5606 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.1561, allocations: 4 kB / 0.5606 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.1562, allocations: 7.984 kB / 0.5606 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1562, allocations: 12.12 kB / 0.5606 GB, free: 1.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.1564, allocations: 177.6 kB / 0.5608 GB, free: 1.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1564, allocations: 0 / 0.5608 GB, free: 1.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.1567, allocations: 55.86 kB / 0.5608 GB, free: 1.105 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002304/0.159, allocations: 1.117 MB / 0.5619 GB, free: 148 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1593, allocations: 75.91 kB / 0.562 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1593, allocations: 0 / 0.562 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1594, allocations: 36.05 kB / 0.562 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1597, allocations: 57.69 kB / 0.5621 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.1621, allocations: 1.896 MB / 0.5639 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1625, allocations: 0.7125 MB / 0.5646 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1626, allocations: 42.02 kB / 0.5646 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1627, allocations: 59.41 kB / 0.5647 GB, free: 13.15 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1627, allocations: 0 / 0.5647 GB, free: 13.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.1855, allocations: 5.37 MB / 0.5699 GB, free: 7.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.66/8.845, allocations: 12 kB / 0.57 GB, free: 7.809 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.075462526001502] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 9.026161235000473 9.049932941 8.894889399 Calling exit ...