Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001407/0.001407, allocations: 121 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.001843/0.001843, allocations: 213.5 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.51/1.51, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2723/0.2723, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 71.88 kB / 0.4917 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1516, allocations: 65.99 MB / 0.5561 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00416/0.1557, allocations: 1.691 MB / 0.5578 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1578, allocations: 1.023 MB / 0.5588 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1579, allocations: 0 / 0.5588 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.1583, allocations: 87.69 kB / 0.5589 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.1588, allocations: 115.5 kB / 0.559 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1591, allocations: 75.67 kB / 0.5591 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1593, allocations: 111.7 kB / 0.5592 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.1594, allocations: 4.234 kB / 0.5592 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1595, allocations: 59.75 kB / 0.5592 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1596, allocations: 55.77 kB / 0.5593 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1597, allocations: 4 kB / 0.5593 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1598, allocations: 35.97 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.1598, allocations: 19.92 kB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.1599, allocations: 35.69 kB / 0.5594 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1602, allocations: 111.5 kB / 0.5595 GB, free: 2.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1602, allocations: 3.938 kB / 0.5595 GB, free: 2.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1602, allocations: 0 / 0.5595 GB, free: 2.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1602, allocations: 4 kB / 0.5595 GB, free: 2.348 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.0007023/0.1609, allocations: 422.7 kB / 0.5599 GB, free: 1.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.161, allocations: 12.03 kB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.401e-05/0.161, allocations: 192 / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.161, allocations: 34.75 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.1611, allocations: 12.84 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.1615, allocations: 220.1 kB / 0.5601 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1615, allocations: 4.125 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1615, allocations: 7.875 kB / 0.5602 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1617, allocations: 57.67 kB / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1617, allocations: 0 / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1617, allocations: 0 / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1617, allocations: 0 / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.1618, allocations: 15.98 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.162, allocations: 181.7 kB / 0.5604 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.1622, allocations: 62.48 kB / 0.5605 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.1623, allocations: 12.86 kB / 0.5605 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.1623, allocations: 4 kB / 0.5605 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.1625, allocations: 63.39 kB / 0.5605 GB, free: 1.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1625, allocations: 0 / 0.5605 GB, free: 1.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003409/0.1628, allocations: 105.5 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1629, allocations: 59.34 kB / 0.5607 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1632, allocations: 215.5 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1632, allocations: 25.7 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.1632, allocations: 108.1 kB / 0.561 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.1633, allocations: 11.94 kB / 0.561 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.1634, allocations: 21.72 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1635, allocations: 322.8 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.1636, allocations: 12 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.1636, allocations: 29.7 kB / 0.5614 GB, free: 132 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1637, allocations: 45.89 kB / 0.5615 GB, free: 80 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1637, allocations: 4 kB / 0.5615 GB, free: 76 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002153/0.164, allocations: 85.58 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.164, allocations: 9.875 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.164, allocations: 0 / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.164, allocations: 0 / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.1641, allocations: 19.97 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1641, allocations: 0 / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.1642, allocations: 11.88 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1642, allocations: 4 kB / 0.5616 GB, free: 15.94 MB / 430.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.0001446/0.1643, allocations: 125.8 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1643, allocations: 15.91 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.1644, allocations: 16.98 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1644, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1644, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1644, allocations: 4 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1646, allocations: 197.6 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1646, allocations: 3.984 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.1646, allocations: 4 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1646, allocations: 0 / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1647, allocations: 7.922 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1647, allocations: 0 / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1647, allocations: 0 / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1649, allocations: 120.9 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.165, allocations: 85.06 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.165, allocations: 4 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.165, allocations: 3.938 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.1651, allocations: 7.984 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1651, allocations: 128 / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.1653, allocations: 165.2 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1653, allocations: 0 / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1655, allocations: 27.94 kB / 0.5623 GB, free: 15.07 MB / 430.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.002059/0.1676, allocations: 0.9409 MB / 0.5633 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1678, allocations: 39.92 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1678, allocations: 0 / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.1678, allocations: 19.98 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1682, allocations: 36.73 kB / 0.5633 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1702, allocations: 1.573 MB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1706, allocations: 0.7119 MB / 0.5656 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.891e-05/0.1707, allocations: 16.55 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.1707, allocations: 31.42 kB / 0.5656 GB, free: 11.73 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1707, allocations: 3.938 kB / 0.5656 GB, free: 11.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.1923, allocations: 3.325 MB / 0.5689 GB, free: 8.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.604, allocations: 12.06 kB / 0.5689 GB, free: 8.465 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.798575542983599] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.785372665035538 8.804636711 8.64035165 Calling exit ...