Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, 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.001629/0.001629, 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.413/1.413, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.129/1.129, allocations: 119.3 MB / 411.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 63.89 kB / 0.4916 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6044, allocations: 80.69 MB / 0.5704 GB, free: 43.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002737/0.6072, allocations: 1.385 MB / 0.5717 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.6082, allocations: 0.5697 MB / 0.5723 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.6083, allocations: 1.031 kB / 0.5723 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.6085, allocations: 22.62 kB / 0.5723 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.6088, allocations: 61.06 kB / 0.5724 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.6092, allocations: 80 kB / 0.5725 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.6093, allocations: 91.48 kB / 0.5725 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.6094, allocations: 1.781 kB / 0.5725 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.6095, allocations: 50.23 kB / 0.5726 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.6096, allocations: 51.89 kB / 0.5726 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.6097, allocations: 4 kB / 0.5726 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.6098, allocations: 81.02 kB / 0.5727 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.61, allocations: 56.75 kB / 0.5728 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.61, allocations: 58.48 kB / 0.5728 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.6103, allocations: 147.2 kB / 0.573 GB, free: 41.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6103, allocations: 1.594 kB / 0.573 GB, free: 41.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6103, allocations: 0 / 0.573 GB, free: 41.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.6103, allocations: 0 / 0.573 GB, free: 41.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005179/0.6108, allocations: 477.1 kB / 0.5734 GB, free: 40.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6109, allocations: 13.33 kB / 0.5734 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.611, allocations: 16.41 kB / 0.5735 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.6113, allocations: 312 kB / 0.5738 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.6114, allocations: 1.531 kB / 0.5738 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.6114, allocations: 2.688 kB / 0.5738 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.6115, allocations: 55.7 kB / 0.5738 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6115, allocations: 4 kB / 0.5738 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.6116, allocations: 5.156 kB / 0.5738 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6116, allocations: 9.219 kB / 0.5738 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.6116, allocations: 16.09 kB / 0.5738 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.6118, allocations: 200.2 kB / 0.574 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.6119, allocations: 42.62 kB / 0.5741 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.612, allocations: 33.92 kB / 0.5741 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.612, allocations: 1.5 kB / 0.5741 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.6122, allocations: 109.9 kB / 0.5742 GB, free: 40.12 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.6122, allocations: 0 / 0.5742 GB, free: 40.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003091/0.6125, allocations: 166.1 kB / 0.5744 GB, free: 40.02 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.6126, allocations: 79.58 kB / 0.5744 GB, free: 39.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.6128, allocations: 232.8 kB / 0.5747 GB, free: 39.77 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.6128, allocations: 26.98 kB / 0.5747 GB, free: 39.74 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.6128, allocations: 116.3 kB / 0.5748 GB, free: 39.63 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.6129, allocations: 28 kB / 0.5748 GB, free: 39.61 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.6129, allocations: 26.91 kB / 0.5749 GB, free: 39.58 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.613, allocations: 332.6 kB / 0.5752 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.6131, allocations: 13.72 kB / 0.5752 GB, free: 39.25 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.6131, allocations: 24.83 kB / 0.5752 GB, free: 39.23 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/0.6132, allocations: 106 kB / 0.5753 GB, free: 39.14 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6132, allocations: 1.562 kB / 0.5753 GB, free: 39.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001773/0.6134, allocations: 152.8 kB / 0.5755 GB, free: 39.04 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.6134, allocations: 39.61 kB / 0.5755 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6134, allocations: 0 / 0.5755 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6135, allocations: 4 kB / 0.5755 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.6135, allocations: 8.141 kB / 0.5755 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6136, allocations: 1.344 kB / 0.5755 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.066e-05/0.6136, allocations: 2.688 kB / 0.5755 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.6136, allocations: 6.703 kB / 0.5755 GB, free: 38.99 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001321/0.6138, allocations: 177.5 kB / 0.5757 GB, free: 38.83 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.6138, allocations: 25.56 kB / 0.5757 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.6139, allocations: 21.11 kB / 0.5757 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6139, allocations: 5.438 kB / 0.5757 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6139, allocations: 0 / 0.5757 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6139, allocations: 0 / 0.5757 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.614, allocations: 210.8 kB / 0.5759 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.614, allocations: 0 / 0.5759 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.6141, allocations: 6.875 kB / 0.5759 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6141, allocations: 1.344 kB / 0.5759 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.6141, allocations: 6.969 kB / 0.576 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6141, allocations: 1.344 kB / 0.576 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6141, allocations: 0 / 0.576 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.6144, allocations: 200.6 kB / 0.5761 GB, free: 38.4 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.6144, allocations: 105.1 kB / 0.5762 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.6145, allocations: 3.844 kB / 0.5763 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.6145, allocations: 6.281 kB / 0.5763 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.6146, allocations: 2.406 kB / 0.5763 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.6146, allocations: 11.31 kB / 0.5763 GB, free: 38.28 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001397/0.6147, allocations: 174.5 kB / 0.5764 GB, free: 38.16 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6147, allocations: 0 / 0.5764 GB, free: 38.16 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002429/0.615, allocations: 30.75 kB / 0.5765 GB, free: 38.16 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001627/0.6152, allocations: 135.1 kB / 0.5766 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.6154, allocations: 143.1 kB / 0.5767 GB, free: 37.95 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6154, allocations: 0 / 0.5767 GB, free: 37.95 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.04e-05/0.6155, allocations: 115.2 kB / 0.5768 GB, free: 37.85 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.6157, allocations: 12.8 kB / 0.5769 GB, free: 37.84 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.6163, allocations: 334.8 kB / 0.5772 GB, free: 37.59 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.6164, allocations: 0.7208 MB / 0.5779 GB, free: 36.87 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.6165, allocations: 17.97 kB / 0.5779 GB, free: 36.86 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.6165, allocations: 0 / 0.5779 GB, free: 36.86 MB / 462.3 MB Notification: Performance of Templates: time 0.004043/0.6205, allocations: 2.04 MB / 0.5799 GB, free: 35.81 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches