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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008957/0.0008957, allocations: 175 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008088/0.0008089, allocations: 86.41 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7593/0.7593, allocations: 120.4 MB / 440.6 MB, free: 4.102 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003449, allocations: 20 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 80 MB / 0.5969 GB, free: 9.141 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5937/0.7095, allocations: 127.9 MB / 0.7219 GB, free: 17.29 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001325/0.7097, allocations: 53.97 kB / 0.7219 GB, free: 17.27 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.009005/0.7187, allocations: 3.976 MB / 0.7258 GB, free: 13.91 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7187, allocations: 0 / 0.7258 GB, free: 13.91 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.7187, allocations: 8.703 kB / 0.7258 GB, free: 13.9 MB / 0.4953 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.0004576/0.7192, allocations: 494.4 kB / 0.7263 GB, free: 13.38 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.7193, allocations: 12.03 kB / 0.7263 GB, free: 13.36 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.7193, allocations: 16.75 kB / 0.7263 GB, free: 13.35 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.7197, allocations: 329.8 kB / 0.7266 GB, free: 13 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.7197, allocations: 4.375 kB / 0.7266 GB, free: 13 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.7197, allocations: 8.312 kB / 0.7266 GB, free: 12.99 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.7198, allocations: 50.11 kB / 0.7267 GB, free: 12.94 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.7199, allocations: 192 / 0.7267 GB, free: 12.94 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.7199, allocations: 7.938 kB / 0.7267 GB, free: 12.93 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.7199, allocations: 0 / 0.7267 GB, free: 12.93 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.683e-05/0.72, allocations: 15.92 kB / 0.7267 GB, free: 12.92 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.7201, allocations: 211.8 kB / 0.7269 GB, free: 12.69 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.7203, allocations: 58.36 kB / 0.727 GB, free: 12.63 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.7203, allocations: 20.78 kB / 0.727 GB, free: 12.61 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.7204, allocations: 0 / 0.727 GB, free: 12.61 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.7205, allocations: 71.2 kB / 0.7271 GB, free: 12.54 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.7205, allocations: 0 / 0.7271 GB, free: 12.54 MB / 0.4953 GB Notification: Performance of matching and sorting (n=5): time 0.00025/0.7207, allocations: 112.9 kB / 0.7272 GB, free: 12.44 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.7208, allocations: 51.41 kB / 0.7272 GB, free: 12.38 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.721, allocations: 280.8 kB / 0.7275 GB, free: 12.13 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.721, allocations: 25.7 kB / 0.7275 GB, free: 12.1 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.7211, allocations: 138.4 kB / 0.7276 GB, free: 12 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.7211, allocations: 15.69 kB / 0.7277 GB, free: 11.99 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.7211, allocations: 0 / 0.7277 GB, free: 11.99 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.7212, allocations: 334.3 kB / 0.728 GB, free: 11.66 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.7212, allocations: 15.25 kB / 0.728 GB, free: 11.65 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.7213, allocations: 37.38 kB / 0.728 GB, free: 11.61 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.828e-05/0.7214, allocations: 45.33 kB / 0.7281 GB, free: 11.57 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7214, allocations: 0 / 0.7281 GB, free: 11.57 MB / 0.4953 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000138/0.7215, allocations: 93.3 kB / 0.7282 GB, free: 11.49 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7215, allocations: 11.94 kB / 0.7282 GB, free: 11.48 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7216, allocations: 4.031 kB / 0.7282 GB, free: 11.47 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.7216, allocations: 0 / 0.7282 GB, free: 11.47 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.7216, allocations: 11.88 kB / 0.7282 GB, free: 11.46 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7217, allocations: 4 kB / 0.7282 GB, free: 11.46 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.7217, allocations: 3.906 kB / 0.7282 GB, free: 11.46 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.7217, allocations: 7.984 kB / 0.7282 GB, free: 11.45 MB / 0.4953 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.415e-05/0.7218, allocations: 140.6 kB / 0.7283 GB, free: 11.31 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.7218, allocations: 23.75 kB / 0.7284 GB, free: 11.29 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.722, allocations: 110.3 kB / 0.7285 GB, free: 11.19 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.722, allocations: 7.922 kB / 0.7285 GB, free: 11.18 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.722, allocations: 0 / 0.7285 GB, free: 11.18 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7221, allocations: 3.938 kB / 0.7285 GB, free: 11.18 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.7222, allocations: 220 kB / 0.7287 GB, free: 10.93 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7222, allocations: 4 kB / 0.7287 GB, free: 10.93 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.7222, allocations: 4 kB / 0.7287 GB, free: 10.93 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.7222, allocations: 3.938 kB / 0.7287 GB, free: 10.92 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.7222, allocations: 0 / 0.7287 GB, free: 10.92 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7222, allocations: 0 / 0.7287 GB, free: 10.92 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7223, allocations: 7.969 kB / 0.7287 GB, free: 10.91 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.7224, allocations: 128.4 kB / 0.7288 GB, free: 10.79 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.7225, allocations: 104.8 kB / 0.7289 GB, free: 10.67 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.7225, allocations: 3.938 kB / 0.7289 GB, free: 10.66 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.7225, allocations: 4.188 kB / 0.7289 GB, free: 10.66 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.7226, allocations: 3.875 kB / 0.7289 GB, free: 10.66 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.7226, allocations: 11.98 kB / 0.7289 GB, free: 10.65 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 0.0001819/0.7228, allocations: 208.2 kB / 0.7291 GB, free: 10.47 MB / 0.4953 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7228, allocations: 0 / 0.7291 GB, free: 10.47 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002064/0.723, allocations: 24 kB / 0.7292 GB, free: 10.45 MB / 0.4953 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007886/0.7238, allocations: 413.7 kB / 0.7296 GB, free: 10.05 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.724, allocations: 47.66 kB / 0.7296 GB, free: 10.02 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.724, allocations: 0 / 0.7296 GB, free: 10.02 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 5.365e-05/0.724, allocations: 23.67 kB / 0.7296 GB, free: 10 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.7243, allocations: 37 kB / 0.7297 GB, free: 9.969 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.7247, allocations: 350.2 kB / 0.73 GB, free: 9.617 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.7249, allocations: 0.7322 MB / 0.7307 GB, free: 8.859 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.725, allocations: 49.75 kB / 0.7308 GB, free: 8.812 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.725, allocations: 31.22 kB / 0.7308 GB, free: 8.789 MB / 0.4953 GB Notification: Performance of SimCode: time 2.5e-07/0.7251, allocations: 0 / 0.7308 GB, free: 8.789 MB / 0.4953 GB Notification: Performance of Templates: time 0.003803/0.7289, allocations: 1.652 MB / 0.7324 GB, free: 7.148 MB / 0.4953 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches