Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.0008257/0.0008257, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.0009294/0.0009294, allocations: 160.9 kB / 23.95 MB, free: 0.5938 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.8881/0.8881, allocations: 177 MB / 204.1 MB, free: 5.742 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.2352/0.2352, allocations: 34.23 MB / 294.8 MB, free: 0.6914 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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.427e-05, allocations: 2.281 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.1573/0.1573, allocations: 1.877 MB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1585, allocations: 1.072 MB / 445.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.1585, allocations: 3.938 kB / 445.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.1589, allocations: 260.6 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.1592, allocations: 236.1 kB / 445.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.1594, allocations: 115.2 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.1596, allocations: 283.2 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.1597, allocations: 21.88 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1599, allocations: 153 kB / 446.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.16, allocations: 193.4 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.16, allocations: 8.688 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.1601, allocations: 65.53 kB / 446.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.1602, allocations: 74.42 kB / 446.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.1602, allocations: 46.55 kB / 446.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1604, allocations: 255.3 kB / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1604, allocations: 0 / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1604, allocations: 0 / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1604, allocations: 2.906 kB / 446.9 MB, free: 42.54 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004592/0.1609, allocations: 0.5186 MB / 447.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1609, allocations: 9 kB / 447.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.583e-05/0.161, allocations: 40.52 kB / 447.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.161, allocations: 35.2 kB / 447.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1612, allocations: 229.4 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1613, allocations: 5.25 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.1613, allocations: 13.12 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1614, allocations: 114.2 kB / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1614, allocations: 192 / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1614, allocations: 10.09 kB / 447.8 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1615, allocations: 4 kB / 447.8 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.1615, allocations: 50.52 kB / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.1619, allocations: 452.6 kB / 448.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1621, allocations: 124.9 kB / 448.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.1622, allocations: 49.94 kB / 448.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.1622, allocations: 2.969 kB / 448.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.1623, allocations: 118.8 kB / 448.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.1623, allocations: 3.094 kB / 448.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007421/0.1631, allocations: 0.5213 MB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.1631, allocations: 91.92 kB / 449.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1633, allocations: 0.4947 MB / 449.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1634, allocations: 32.7 kB / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.1634, allocations: 175 kB / 449.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1634, allocations: 78.86 kB / 450 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.1635, allocations: 46.16 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.1635, allocations: 351.3 kB / 450.4 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.1636, allocations: 57.3 kB / 450.5 MB, free: 40.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.1637, allocations: 90.92 kB / 450.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1638, allocations: 160.8 kB / 450.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1638, allocations: 2.812 kB / 450.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000223/0.164, allocations: 250.6 kB / 451 MB, free: 39.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1641, allocations: 5.719 kB / 451 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1641, allocations: 0 / 451 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1641, allocations: 7.062 kB / 451 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.1642, allocations: 41.48 kB / 451 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1642, allocations: 3.938 kB / 451 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1642, allocations: 11.97 kB / 451 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1642, allocations: 12.64 kB / 451 MB, free: 39.82 MB / 410.7 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.584e-05/0.1643, allocations: 170.4 kB / 451.2 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.1643, allocations: 38.27 kB / 451.2 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.1646, allocations: 285.5 kB / 451.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1646, allocations: 2.875 kB / 451.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1646, allocations: 3.938 kB / 451.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1646, allocations: 3.328 kB / 451.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.1651, allocations: 0.7155 MB / 452.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1651, allocations: 0 / 452.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.1652, allocations: 33.75 kB / 452.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1652, allocations: 2.875 kB / 452.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1652, allocations: 9.625 kB / 452.3 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1652, allocations: 10.17 kB / 452.3 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1652, allocations: 0 / 452.3 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1654, allocations: 444.6 kB / 452.7 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.1654, allocations: 27.12 kB / 452.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1654, allocations: 6.906 kB / 452.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.1655, allocations: 16.16 kB / 452.8 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1656, allocations: 34.14 kB / 452.8 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1656, allocations: 8.312 kB / 452.8 MB, free: 38.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1658, allocations: 379.8 kB / 453.2 MB, free: 38.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1658, allocations: 0 / 453.2 MB, free: 38.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.166, allocations: 56.34 kB / 453.2 MB, free: 38.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001088/0.1671, allocations: 1.411 MB / 454.7 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.1673, allocations: 164.1 kB / 454.8 MB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1673, allocations: 0 / 454.8 MB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.1674, allocations: 79.78 kB / 454.9 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1677, allocations: 78.08 kB / 455 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.1696, allocations: 3.025 MB / 458 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.1697, allocations: 185.3 kB / 458.2 MB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.434e-05/0.1698, allocations: 38.58 kB / 458.2 MB, free: 35.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.1699, allocations: 104.6 kB / 458.3 MB, free: 35.33 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1699, allocations: 3.938 kB / 458.3 MB, free: 35.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.1891, allocations: 7.612 MB / 465.9 MB, free: 33.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.889/7.078, allocations: 7.531 kB / 465.9 MB, free: 33.53 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.0076784202829]