Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.000807/0.000807, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008098/0.0008098, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8635/0.8635, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2295/0.2295, allocations: 34.25 MB / 294.9 MB, free: 0.6914 MB / 266.7 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.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.888e-05, allocations: 2.281 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.1635/0.1636, allocations: 1.709 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1648, allocations: 0.9833 MB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.1649, allocations: 0 / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.1652, allocations: 36.61 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.1654, allocations: 95.97 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.1656, allocations: 83 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1657, allocations: 107.5 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1658, allocations: 9.781 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.1659, allocations: 56.58 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.166, allocations: 29.92 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.166, allocations: 5.438 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.1661, allocations: 39.19 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.1661, allocations: 21.5 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.1661, allocations: 20.7 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1663, allocations: 120.3 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1663, allocations: 0 / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1663, allocations: 0 / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1663, allocations: 0.9062 kB / 445.6 MB, free: 42.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003806/0.1667, allocations: 347.6 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1667, allocations: 10.31 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.255e-05/0.1668, allocations: 33.44 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.1668, allocations: 14.16 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.167, allocations: 153.9 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.167, allocations: 2.875 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.167, allocations: 0.9688 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1671, allocations: 67.19 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1671, allocations: 2.781 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.1671, allocations: 3.875 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1671, allocations: 0 / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.1672, allocations: 18.84 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.1674, allocations: 259.9 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1675, allocations: 61.19 kB / 446.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.1676, allocations: 22.14 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.1676, allocations: 0 / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.1677, allocations: 68.91 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1677, allocations: 0 / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004154/0.1681, allocations: 189.8 kB / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.1681, allocations: 51.41 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1682, allocations: 202.4 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.1683, allocations: 29.45 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.1683, allocations: 108.2 kB / 447.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1683, allocations: 25.8 kB / 447.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.1683, allocations: 29.55 kB / 447.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.104e-05/0.1684, allocations: 325 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.1684, allocations: 23.42 kB / 447.6 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.1684, allocations: 35.41 kB / 447.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.1685, allocations: 64.36 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1685, allocations: 0 / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001104/0.1686, allocations: 105.5 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1686, allocations: 5.844 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1686, allocations: 0 / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1687, allocations: 0 / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.1687, allocations: 17.8 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1687, allocations: 6.094 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.1688, allocations: 11.62 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1688, allocations: 6 kB / 447.8 MB, free: 41.33 MB / 410.7 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 5.366e-05/0.1688, allocations: 129.8 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1688, allocations: 9.672 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.169, allocations: 122.7 kB / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.169, allocations: 0 / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.169, allocations: 2.625 kB / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.169, allocations: 0 / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1692, allocations: 374.4 kB / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1692, allocations: 4.031 kB / 448.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.1693, allocations: 8.625 kB / 448.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1693, allocations: 5.984 kB / 448.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1693, allocations: 11.12 kB / 448.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1693, allocations: 3.625 kB / 448.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1693, allocations: 3.938 kB / 448.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1694, allocations: 212.4 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.1694, allocations: 10.72 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1694, allocations: 2.875 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.1695, allocations: 7.141 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.1695, allocations: 14.31 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1695, allocations: 5.906 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.222e-05/0.1696, allocations: 151.2 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1696, allocations: 0 / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.1697, allocations: 28.2 kB / 448.9 MB, free: 40.55 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0008967/0.1706, allocations: 1.136 MB / 450 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.1708, allocations: 66.5 kB / 450.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1708, allocations: 0 / 450.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.139e-05/0.1708, allocations: 32.03 kB / 450.1 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.171, allocations: 34.22 kB / 450.2 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.1719, allocations: 1.675 MB / 451.8 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.799e-05/0.172, allocations: 90.05 kB / 451.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.172, allocations: 18.02 kB / 451.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.1721, allocations: 40.47 kB / 452 MB, free: 38.26 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1721, allocations: 3.938 kB / 452 MB, free: 38.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.1875, allocations: 4.28 MB / 456.3 MB, free: 36.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/6.952, allocations: 3.516 kB / 456.3 MB, free: 36.86 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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: 8.853107334114611]