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.001252/0.001252, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001318/0.001318, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.448/1.448, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.024/1.024, allocations: 119.3 MB / 411.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 59.91 kB / 0.4916 GB, free: 13.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5975/0.599, allocations: 80.69 MB / 0.5704 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003174/0.6023, allocations: 1.541 MB / 0.5719 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.6037, allocations: 0.8951 MB / 0.5728 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.6038, allocations: 1.438 kB / 0.5728 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.6042, allocations: 65.48 kB / 0.5728 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.6046, allocations: 98.11 kB / 0.5729 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.6049, allocations: 113.8 kB / 0.573 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.6051, allocations: 126.1 kB / 0.5732 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.6052, allocations: 9.484 kB / 0.5732 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.6053, allocations: 63.73 kB / 0.5732 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.6055, allocations: 58.38 kB / 0.5733 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.6055, allocations: 4.844 kB / 0.5733 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.6056, allocations: 33.58 kB / 0.5733 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.6058, allocations: 66.97 kB / 0.5734 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.6059, allocations: 58.77 kB / 0.5734 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.6061, allocations: 153 kB / 0.5736 GB, free: 40.92 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6061, allocations: 0 / 0.5736 GB, free: 40.92 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6061, allocations: 0 / 0.5736 GB, free: 40.92 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.6061, allocations: 1.031 kB / 0.5736 GB, free: 40.92 MB / 462.3 MB 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.0005746/0.6067, allocations: 0.4886 MB / 0.5741 GB, free: 40.43 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6068, allocations: 14.66 kB / 0.5741 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.6068, allocations: 24.5 kB / 0.5741 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.6072, allocations: 325.6 kB / 0.5744 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.6073, allocations: 1.875 kB / 0.5744 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.6073, allocations: 5.562 kB / 0.5744 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.6074, allocations: 51.73 kB / 0.5745 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6075, allocations: 3.984 kB / 0.5745 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.6075, allocations: 0 / 0.5745 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.6075, allocations: 5.281 kB / 0.5745 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.6076, allocations: 19.98 kB / 0.5745 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.6078, allocations: 207.4 kB / 0.5747 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.6079, allocations: 50.62 kB / 0.5747 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.608, allocations: 24.91 kB / 0.5748 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.608, allocations: 5.5 kB / 0.5748 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.6083, allocations: 72.33 kB / 0.5748 GB, free: 39.69 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.6083, allocations: 0 / 0.5748 GB, free: 39.69 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0003325/0.6086, allocations: 100.1 kB / 0.5749 GB, free: 39.63 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.6087, allocations: 52.62 kB / 0.575 GB, free: 39.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.609, allocations: 282.8 kB / 0.5753 GB, free: 39.38 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.609, allocations: 25.7 kB / 0.5753 GB, free: 39.35 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.609, allocations: 138.8 kB / 0.5754 GB, free: 39.22 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.6091, allocations: 18.67 kB / 0.5754 GB, free: 39.21 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.6091, allocations: 19.59 kB / 0.5755 GB, free: 39.19 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.6092, allocations: 337.6 kB / 0.5758 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.6093, allocations: 12.03 kB / 0.5758 GB, free: 38.85 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.985e-05/0.6093, allocations: 27.05 kB / 0.5758 GB, free: 38.83 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.6094, allocations: 43.86 kB / 0.5759 GB, free: 38.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6094, allocations: 7.938 kB / 0.5759 GB, free: 38.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001587/0.6096, allocations: 96.12 kB / 0.576 GB, free: 38.72 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.6096, allocations: 3.844 kB / 0.576 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6096, allocations: 1.375 kB / 0.576 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6097, allocations: 1.656 kB / 0.576 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.6098, allocations: 8.625 kB / 0.576 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.6098, allocations: 4.453 kB / 0.576 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.6098, allocations: 3.812 kB / 0.576 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.6098, allocations: 8.922 kB / 0.576 GB, free: 38.71 MB / 462.3 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.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.000111/0.61, allocations: 155.7 kB / 0.5761 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.61, allocations: 21.72 kB / 0.5762 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.6101, allocations: 27.89 kB / 0.5762 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6101, allocations: 0 / 0.5762 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6101, allocations: 1.375 kB / 0.5762 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6101, allocations: 0 / 0.5762 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.6102, allocations: 220.9 kB / 0.5764 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6102, allocations: 0 / 0.5764 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.6103, allocations: 2.875 kB / 0.5764 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6103, allocations: 5.375 kB / 0.5764 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6103, allocations: 0 / 0.5764 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6103, allocations: 0.9375 kB / 0.5764 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6103, allocations: 0 / 0.5764 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.6105, allocations: 118.9 kB / 0.5765 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.6106, allocations: 110.1 kB / 0.5766 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.6106, allocations: 2.156 kB / 0.5766 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.6106, allocations: 1.156 kB / 0.5766 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.6107, allocations: 6.719 kB / 0.5766 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.6107, allocations: 9.922 kB / 0.5766 GB, free: 38.07 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001816/0.6109, allocations: 204.6 kB / 0.5768 GB, free: 37.94 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6109, allocations: 0 / 0.5768 GB, free: 37.94 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002299/0.6111, allocations: 15.28 kB / 0.5768 GB, free: 37.94 MB / 462.3 MB 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.0009429/0.6121, allocations: 425.2 kB / 0.5773 GB, free: 37.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.6123, allocations: 40.3 kB / 0.5773 GB, free: 37.71 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6123, allocations: 4.062 kB / 0.5773 GB, free: 37.71 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-05/0.6124, allocations: 19.67 kB / 0.5773 GB, free: 37.7 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.6127, allocations: 46.3 kB / 0.5774 GB, free: 37.68 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.6133, allocations: 360.5 kB / 0.5777 GB, free: 37.41 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.6135, allocations: 0.7416 MB / 0.5784 GB, free: 36.68 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.6135, allocations: 25.66 kB / 0.5785 GB, free: 36.66 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.6135, allocations: 0 / 0.5785 GB, free: 36.66 MB / 462.3 MB Notification: Performance of Templates: time 0.005018/0.6186, allocations: 2.554 MB / 0.5809 GB, free: 35.36 MB / 462.3 MB 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