Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.001607/0.001607, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001783/0.001783, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.02/1.02, allocations: 120.6 MB / 434.5 MB, free: 0.8281 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite 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.002024/0.002024, allocations: 67.91 kB / 0.6067 GB, free: 10.94 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1674, allocations: 85.87 MB / 0.6906 GB, free: 4.855 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002986/0.1704, allocations: 1.591 MB / 0.6921 GB, free: 3.254 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1723, allocations: 1.068 MB / 0.6932 GB, free: 2.18 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1724, allocations: 0 / 0.6932 GB, free: 2.18 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.1727, allocations: 67.66 kB / 0.6933 GB, free: 2.113 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.1731, allocations: 151.5 kB / 0.6934 GB, free: 1.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.1733, allocations: 71.73 kB / 0.6935 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1735, allocations: 139.6 kB / 0.6936 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.1736, allocations: 4 kB / 0.6936 GB, free: 1.754 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1738, allocations: 83.67 kB / 0.6937 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.174, allocations: 67.7 kB / 0.6937 GB, free: 1.605 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.174, allocations: 8 kB / 0.6938 GB, free: 1.598 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.1741, allocations: 31.98 kB / 0.6938 GB, free: 1.566 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1742, allocations: 71.8 kB / 0.6939 GB, free: 1.496 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.1743, allocations: 63.47 kB / 0.6939 GB, free: 1.434 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1746, allocations: 159.4 kB / 0.6941 GB, free: 1.277 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1746, allocations: 4 kB / 0.6941 GB, free: 1.273 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1746, allocations: 0 / 0.6941 GB, free: 1.273 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.1746, allocations: 0 / 0.6941 GB, free: 1.273 MB / 0.5139 GB 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.0006995/0.1753, allocations: 432.8 kB / 0.6945 GB, free: 0.8203 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1753, allocations: 8.031 kB / 0.6945 GB, free: 0.8125 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.1753, allocations: 30.75 kB / 0.6945 GB, free: 0.7734 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.1754, allocations: 24.8 kB / 0.6945 GB, free: 0.75 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.1759, allocations: 285 kB / 0.6948 GB, free: 456 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1759, allocations: 8.375 kB / 0.6948 GB, free: 448 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.1759, allocations: 7.875 kB / 0.6948 GB, free: 440 kB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.176, allocations: 53.61 kB / 0.6949 GB, free: 380 kB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1761, allocations: 0 / 0.6949 GB, free: 380 kB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1761, allocations: 0 / 0.6949 GB, free: 380 kB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1761, allocations: 3.938 kB / 0.6949 GB, free: 376 kB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.1761, allocations: 19.98 kB / 0.6949 GB, free: 356 kB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.1763, allocations: 184.7 kB / 0.6951 GB, free: 128 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1766, allocations: 58.56 kB / 0.6951 GB, free: 60 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.1766, allocations: 12.84 kB / 0.6952 GB, free: 44 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1766, allocations: 4 kB / 0.6952 GB, free: 40 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1768, allocations: 67.33 kB / 0.6952 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1768, allocations: 0 / 0.6952 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of matching and sorting (n=5): time 0.0002921/0.1771, allocations: 109.5 kB / 0.6953 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1771, allocations: 51.41 kB / 0.6954 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.1774, allocations: 288.2 kB / 0.6956 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1774, allocations: 25.7 kB / 0.6957 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.1775, allocations: 140.1 kB / 0.6958 GB, free: 15.32 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.1776, allocations: 19.83 kB / 0.6958 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1776, allocations: 17.72 kB / 0.6958 GB, free: 15.28 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1777, allocations: 342.8 kB / 0.6962 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/0.1778, allocations: 12 kB / 0.6962 GB, free: 14.92 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.659e-05/0.1779, allocations: 29.64 kB / 0.6962 GB, free: 14.89 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.178, allocations: 45.7 kB / 0.6963 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.178, allocations: 3.938 kB / 0.6963 GB, free: 14.83 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002177/0.1782, allocations: 89.48 kB / 0.6963 GB, free: 14.74 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1782, allocations: 12.03 kB / 0.6964 GB, free: 14.73 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1782, allocations: 0 / 0.6964 GB, free: 14.73 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1782, allocations: 0 / 0.6964 GB, free: 14.73 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/0.1783, allocations: 11.98 kB / 0.6964 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1783, allocations: 4 kB / 0.6964 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.1783, allocations: 0 / 0.6964 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1784, allocations: 4 kB / 0.6964 GB, free: 14.71 MB / 0.5295 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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.0001323/0.1785, allocations: 146.1 kB / 0.6965 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1785, allocations: 23.86 kB / 0.6965 GB, free: 14.53 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1787, allocations: 111 kB / 0.6966 GB, free: 14.42 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1787, allocations: 0 / 0.6966 GB, free: 14.42 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.1787, allocations: 7.922 kB / 0.6966 GB, free: 14.41 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1787, allocations: 4 kB / 0.6967 GB, free: 14.41 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.179, allocations: 192.6 kB / 0.6968 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.179, allocations: 0 / 0.6968 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.179, allocations: 4 kB / 0.6968 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.179, allocations: 0 / 0.6968 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.179, allocations: 3.938 kB / 0.6968 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.179, allocations: 3.984 kB / 0.6968 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.179, allocations: 0 / 0.6968 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.1792, allocations: 128.9 kB / 0.697 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1793, allocations: 23.84 kB / 0.697 GB, free: 14 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1793, allocations: 4 kB / 0.697 GB, free: 13.99 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.1793, allocations: 0 / 0.697 GB, free: 13.99 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1794, allocations: 7.984 kB / 0.697 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1794, allocations: 0 / 0.697 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0002112/0.1796, allocations: 219.1 kB / 0.6972 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1796, allocations: 0 / 0.6972 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002152/0.1798, allocations: 23.92 kB / 0.6972 GB, free: 13.75 MB / 0.5295 GB 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,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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.001876/0.1817, allocations: 0.9627 MB / 0.6982 GB, free: 12.91 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1819, allocations: 43.98 kB / 0.6982 GB, free: 12.87 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1819, allocations: 0 / 0.6982 GB, free: 12.87 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.1819, allocations: 19.94 kB / 0.6982 GB, free: 12.85 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.1822, allocations: 42.69 kB / 0.6983 GB, free: 12.81 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1846, allocations: 2.002 MB / 0.7002 GB, free: 10.72 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.185, allocations: 0.732 MB / 0.7009 GB, free: 9.961 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.00011/0.1851, allocations: 41.59 kB / 0.701 GB, free: 9.922 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.1852, allocations: 63.41 kB / 0.701 GB, free: 9.859 MB / 0.5295 GB Notification: Performance of SimCode: time 3e-07/0.1852, allocations: 0 / 0.701 GB, free: 9.859 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.217, allocations: 4.588 MB / 0.7055 GB, free: 5.344 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.61, allocations: 21.27 kB / 0.7055 GB, free: 5.328 MB / 0.5295 GB " [Timeout remaining time 288] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.655099771916866]