Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 112.4 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 194.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.416/1.416, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 61.72 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2029, allocations: 80.69 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003641/0.2066, allocations: 1.566 MB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2083, allocations: 0.8807 MB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2085, allocations: 4 kB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.2089, allocations: 55.73 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.2094, allocations: 111.6 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.2097, allocations: 107.5 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.21, allocations: 127.6 kB / 0.6525 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.2101, allocations: 15.92 kB / 0.6525 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.2103, allocations: 63.75 kB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.2104, allocations: 59.77 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.2105, allocations: 7.938 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.2106, allocations: 35.98 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.2107, allocations: 67.8 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.2108, allocations: 55.55 kB / 0.6528 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.2111, allocations: 155.4 kB / 0.6529 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2111, allocations: 0 / 0.6529 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2111, allocations: 0 / 0.6529 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.2111, allocations: 4 kB / 0.6529 GB, free: 9.801 MB / 0.4983 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.0007852/0.2119, allocations: 498.1 kB / 0.6534 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.212, allocations: 8.031 kB / 0.6534 GB, free: 9.258 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.212, allocations: 16.75 kB / 0.6534 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.2126, allocations: 339.3 kB / 0.6537 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2126, allocations: 4.375 kB / 0.6537 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2126, allocations: 8.062 kB / 0.6537 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2128, allocations: 57.67 kB / 0.6538 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2128, allocations: 0 / 0.6538 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2128, allocations: 3.984 kB / 0.6538 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2128, allocations: 0 / 0.6538 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.207e-05/0.2129, allocations: 19.92 kB / 0.6538 GB, free: 8.773 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.2132, allocations: 209.7 kB / 0.654 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.2134, allocations: 50.62 kB / 0.6541 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.2134, allocations: 28.78 kB / 0.6541 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.2135, allocations: 0 / 0.6541 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.2136, allocations: 63.39 kB / 0.6542 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.2136, allocations: 0 / 0.6542 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0003141/0.214, allocations: 109.3 kB / 0.6543 GB, free: 8.242 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.214, allocations: 51.41 kB / 0.6543 GB, free: 8.18 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.2143, allocations: 282.7 kB / 0.6546 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.2143, allocations: 33.7 kB / 0.6546 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.2144, allocations: 128.1 kB / 0.6547 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.2145, allocations: 19.8 kB / 0.6548 GB, free: 7.703 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.2145, allocations: 17.72 kB / 0.6548 GB, free: 7.68 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2147, allocations: 334.8 kB / 0.6551 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.2148, allocations: 12 kB / 0.6551 GB, free: 7.332 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-05/0.2148, allocations: 29.7 kB / 0.6551 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.2149, allocations: 53.89 kB / 0.6552 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2149, allocations: 0 / 0.6552 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001724/0.2151, allocations: 93.38 kB / 0.6553 GB, free: 7.141 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2151, allocations: 14.91 kB / 0.6553 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2152, allocations: 160 / 0.6553 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2152, allocations: 0 / 0.6553 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.2153, allocations: 11.98 kB / 0.6553 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2153, allocations: 12.02 kB / 0.6553 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.2153, allocations: 7.844 kB / 0.6553 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.2154, allocations: 4 kB / 0.6553 GB, free: 7.094 MB / 0.4983 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.0001396/0.2155, allocations: 146.6 kB / 0.6555 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.2156, allocations: 19.81 kB / 0.6555 GB, free: 6.922 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.2156, allocations: 21.3 kB / 0.6555 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2156, allocations: 7.938 kB / 0.6555 GB, free: 6.891 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2156, allocations: 0 / 0.6555 GB, free: 6.891 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2156, allocations: 0 / 0.6555 GB, free: 6.891 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.2158, allocations: 217.5 kB / 0.6557 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2159, allocations: 0 / 0.6557 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.2159, allocations: 7.938 kB / 0.6557 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2159, allocations: 0 / 0.6557 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.2159, allocations: 4 kB / 0.6557 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2159, allocations: 0 / 0.6557 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2159, allocations: 0 / 0.6557 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.2161, allocations: 120.8 kB / 0.6558 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.2162, allocations: 104.8 kB / 0.6559 GB, free: 6.359 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.2163, allocations: 8.125 kB / 0.6559 GB, free: 6.352 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.2163, allocations: 4 kB / 0.656 GB, free: 6.348 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.2164, allocations: 3.984 kB / 0.656 GB, free: 6.344 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2164, allocations: 4 kB / 0.656 GB, free: 6.34 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0002046/0.2166, allocations: 201.9 kB / 0.6562 GB, free: 6.145 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2166, allocations: 0 / 0.6562 GB, free: 6.145 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002229/0.2168, allocations: 20 kB / 0.6562 GB, free: 6.125 MB / 0.4983 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.nextTimeEventScaled,combiTimeTable.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.0009457/0.2178, allocations: 417.9 kB / 0.6566 GB, free: 5.867 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.218, allocations: 39.98 kB / 0.6566 GB, free: 5.828 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.218, allocations: 0 / 0.6566 GB, free: 5.828 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.218, allocations: 20.11 kB / 0.6566 GB, free: 5.809 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2183, allocations: 40.53 kB / 0.6567 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.2189, allocations: 332 kB / 0.657 GB, free: 5.418 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.2193, allocations: 0.7358 MB / 0.6577 GB, free: 4.652 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.2194, allocations: 37.52 kB / 0.6577 GB, free: 4.613 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.2195, allocations: 23.44 kB / 0.6578 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of SimCode: time 2.2e-07/0.2195, allocations: 0 / 0.6578 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of Templates: time 0.005362/0.2249, allocations: 1.719 MB / 0.6594 GB, free: 2.883 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches