Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009308/0.0009308, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008976/0.0008976, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8873/0.8873, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2416/0.2416, allocations: 34.24 MB / 294.8 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 442.3 MB, free: 1.457 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.086e-05, allocations: 4.812 kB / 442.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.1618/0.1618, allocations: 2.166 MB / 444.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1633, allocations: 1.285 MB / 445.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1634, allocations: 6.406 kB / 445.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.1638, allocations: 117.9 kB / 445.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.1642, allocations: 249.4 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.1645, allocations: 199 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.1649, allocations: 469.2 kB / 446.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.165, allocations: 41.73 kB / 446.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.1653, allocations: 352.9 kB / 447.1 MB, free: 42.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1654, allocations: 130.6 kB / 447.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.1655, allocations: 19.31 kB / 447.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1656, allocations: 73.16 kB / 447.3 MB, free: 42.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.1657, allocations: 141 kB / 447.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.1658, allocations: 99.48 kB / 447.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.1661, allocations: 423.5 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1661, allocations: 3.5 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1661, allocations: 0 / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1661, allocations: 0 / 448 MB, free: 41.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006599/0.1668, allocations: 0.7665 MB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1668, allocations: 8.594 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.1669, allocations: 47.86 kB / 448.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.1669, allocations: 62.42 kB / 448.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.1673, allocations: 349.6 kB / 449.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1673, allocations: 10.31 kB / 449.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1673, allocations: 18.67 kB / 449.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1676, allocations: 199.9 kB / 449.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1676, allocations: 4.141 kB / 449.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1676, allocations: 14.19 kB / 449.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1676, allocations: 2.781 kB / 449.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1677, allocations: 98.92 kB / 449.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.1683, allocations: 0.7555 MB / 450.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.1687, allocations: 242.6 kB / 450.5 MB, free: 40 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/0.1688, allocations: 93.41 kB / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1688, allocations: 5.812 kB / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.169, allocations: 205.5 kB / 450.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.169, allocations: 3.094 kB / 450.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001447/0.1705, allocations: 1.16 MB / 452 MB, free: 39.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1705, allocations: 141.4 kB / 452.1 MB, free: 39.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.1711, allocations: 0.8133 MB / 453 MB, free: 38.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1711, allocations: 39.33 kB / 453 MB, free: 38.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.1712, allocations: 245.6 kB / 453.2 MB, free: 38.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.1712, allocations: 141 kB / 453.4 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.1713, allocations: 85.89 kB / 453.5 MB, free: 38.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.1714, allocations: 380.2 kB / 453.8 MB, free: 38.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1715, allocations: 119 kB / 453.9 MB, free: 38.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.1717, allocations: 190.8 kB / 454.1 MB, free: 37.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.172, allocations: 331 kB / 454.5 MB, free: 37.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.172, allocations: 0 / 454.5 MB, free: 37.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004168/0.1724, allocations: 452.3 kB / 454.9 MB, free: 37.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1724, allocations: 5.844 kB / 454.9 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1724, allocations: 6.875 kB / 454.9 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1724, allocations: 2.875 kB / 454.9 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1726, allocations: 86.39 kB / 455 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1726, allocations: 5.656 kB / 455 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.449e-05/0.1727, allocations: 20.08 kB / 455 MB, free: 37.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.1727, allocations: 11.88 kB / 455 MB, free: 37.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001748/0.1729, allocations: 257.5 kB / 455.3 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.1729, allocations: 72.34 kB / 455.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005648/0.1735, allocations: 0.5185 MB / 455.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1735, allocations: 5.875 kB / 455.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.1735, allocations: 6.094 kB / 455.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1735, allocations: 3.234 kB / 455.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009907/0.1745, allocations: 1.294 MB / 457.2 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1745, allocations: 3.188 kB / 457.2 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.1746, allocations: 68.36 kB / 457.2 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1746, allocations: 6.281 kB / 457.3 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1746, allocations: 10.41 kB / 457.3 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.1746, allocations: 13.39 kB / 457.3 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1746, allocations: 7.125 kB / 457.3 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.1751, allocations: 0.8109 MB / 458.1 MB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1752, allocations: 107.3 kB / 458.2 MB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.1752, allocations: 14.81 kB / 458.2 MB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.1754, allocations: 21.05 kB / 458.2 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.1754, allocations: 41.42 kB / 458.3 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.1755, allocations: 26.98 kB / 458.3 MB, free: 35.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003443/0.1758, allocations: 0.5955 MB / 458.9 MB, free: 35.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1758, allocations: 0 / 458.9 MB, free: 35.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003706/0.1762, allocations: 91.83 kB / 459 MB, free: 35.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001405/0.1776, allocations: 1.826 MB / 460.8 MB, free: 34.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.1779, allocations: 316.2 kB / 461.1 MB, free: 33.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.178, allocations: 0 / 461.1 MB, free: 33.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.1781, allocations: 163.6 kB / 461.3 MB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.1787, allocations: 128.8 kB / 461.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1819, allocations: 4.822 MB / 466.2 MB, free: 31.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.1821, allocations: 294.9 kB / 466.5 MB, free: 30.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.1822, allocations: 77.5 kB / 466.6 MB, free: 30.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1824, allocations: 198.9 kB / 466.8 MB, free: 30.84 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1824, allocations: 3.938 kB / 466.8 MB, free: 30.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.2034, allocations: 12.06 MB / 478.9 MB, free: 28.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.271, allocations: 0.8125 kB / 478.9 MB, free: 28.55 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.264880352653563]