Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.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.ScaledExperiments.CombiTimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 86.36 kB / 16.31 MB, free: 6.449 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.001252/0.001252, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.517/1.517, allocations: 223.3 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9533/0.9533, allocations: 120.4 MB / 412.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005045, allocations: 8 kB / 0.4943 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 82.85 MB / 0.5752 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125): time 0.002169/0.2247, allocations: 1.262 MB / 0.5764 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2262, allocations: 0.8153 MB / 0.5772 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.2263, allocations: 0 / 0.5772 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.2268, allocations: 283.5 kB / 0.5775 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.2273, allocations: 199.7 kB / 0.5777 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.2275, allocations: 87.77 kB / 0.5777 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.2279, allocations: 323.4 kB / 0.578 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.228, allocations: 19.95 kB / 0.5781 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.2282, allocations: 187.6 kB / 0.5782 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.2285, allocations: 297.5 kB / 0.5785 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.2286, allocations: 23.98 kB / 0.5786 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.2287, allocations: 39.94 kB / 0.5786 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006832/0.2294, allocations: 0.6314 MB / 0.5792 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2296, allocations: 164.9 kB / 0.5794 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.2301, allocations: 0.6273 MB / 0.58 GB, free: 3.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.2302, allocations: 3.984 kB / 0.58 GB, free: 3.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2302, allocations: 4 kB / 0.58 GB, free: 3.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2302, allocations: 4 kB / 0.58 GB, free: 3.164 MB / 446.1 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.001632/0.2318, allocations: 1.432 MB / 0.5814 GB, free: 1.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2319, allocations: 8.031 kB / 0.5814 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.232, allocations: 154 kB / 0.5815 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6222/0.8542, allocations: 1.688 MB / 0.5832 GB, free: 15.51 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.8543, allocations: 1.312 kB / 0.5832 GB, free: 15.51 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.8543, allocations: 2.594 kB / 0.5832 GB, free: 15.51 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.8545, allocations: 47.09 kB / 0.5832 GB, free: 15.48 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8545, allocations: 3.969 kB / 0.5832 GB, free: 15.48 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.8546, allocations: 1.953 kB / 0.5832 GB, free: 15.48 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.8546, allocations: 0.625 kB / 0.5832 GB, free: 15.48 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.8547, allocations: 18.69 kB / 0.5833 GB, free: 15.48 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.8558, allocations: 0.5879 MB / 0.5838 GB, free: 15.27 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.856, allocations: 50.19 kB / 0.5839 GB, free: 15.24 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.856, allocations: 21.67 kB / 0.5839 GB, free: 15.23 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.8561, allocations: 3.938 kB / 0.5839 GB, free: 15.23 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.8563, allocations: 68.97 kB / 0.584 GB, free: 15.19 MB / 446.3 MB Notification: Performance of pre-optimization done (n=5): time 2.334e-06/0.8563, allocations: 1.594 kB / 0.584 GB, free: 15.19 MB / 446.3 MB Notification: Performance of matching and sorting (n=5): time 0.0004658/0.8568, allocations: 234.3 kB / 0.5842 GB, free: 15.16 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.8568, allocations: 52.34 kB / 0.5843 GB, free: 15.09 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.8594, allocations: 1.709 MB / 0.5859 GB, free: 14.87 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.8594, allocations: 27.83 kB / 0.5859 GB, free: 14.84 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007367/0.8602, allocations: 0.6773 MB / 0.5866 GB, free: 14.49 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.8602, allocations: 18.56 kB / 0.5866 GB, free: 14.48 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.8602, allocations: 0 / 0.5866 GB, free: 14.48 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.8603, allocations: 312.7 kB / 0.5869 GB, free: 14.18 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.8604, allocations: 13.73 kB / 0.5869 GB, free: 14.17 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.8604, allocations: 31.88 kB / 0.587 GB, free: 14.15 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.8605, allocations: 18.62 kB / 0.587 GB, free: 14.14 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8605, allocations: 2.375 kB / 0.587 GB, free: 14.14 MB / 446.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003234/0.8608, allocations: 227.4 kB / 0.5872 GB, free: 14.02 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.8609, allocations: 6.125 kB / 0.5872 GB, free: 14.02 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8609, allocations: 0 / 0.5872 GB, free: 14.02 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.8609, allocations: 1.25 kB / 0.5872 GB, free: 14.02 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.861, allocations: 10.66 kB / 0.5872 GB, free: 14.02 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.861, allocations: 4.281 kB / 0.5872 GB, free: 14.02 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.8612, allocations: 10.77 kB / 0.5872 GB, free: 14.01 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.8612, allocations: 4.312 kB / 0.5872 GB, free: 14.01 MB / 446.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 ($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 0.000655/0.8619, allocations: 420.6 kB / 0.5876 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.862, allocations: 156.5 kB / 0.5878 GB, free: 13.78 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.8624, allocations: 173.5 kB / 0.588 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8624, allocations: 4.453 kB / 0.588 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8624, allocations: 0.9688 kB / 0.588 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8624, allocations: 0.5625 kB / 0.588 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009277/0.8634, allocations: 0.631 MB / 0.5886 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8634, allocations: 0.7812 kB / 0.5886 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.8634, allocations: 4.203 kB / 0.5886 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8634, allocations: 2.156 kB / 0.5886 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.8634, allocations: 2.344 kB / 0.5886 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8634, allocations: 3.703 kB / 0.5886 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.8634, allocations: 0.8438 kB / 0.5886 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.8638, allocations: 272.5 kB / 0.5889 GB, free: 13.19 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.8641, allocations: 214 kB / 0.5891 GB, free: 13.01 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.8641, allocations: 5.219 kB / 0.5891 GB, free: 13.01 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.8643, allocations: 12.05 kB / 0.5891 GB, free: 13.01 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.8643, allocations: 3.625 kB / 0.5891 GB, free: 13.01 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.8643, allocations: 3.484 kB / 0.5891 GB, free: 13.01 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.001927/0.8663, allocations: 1.182 MB / 0.5902 GB, free: 12.64 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8663, allocations: 0 / 0.5902 GB, free: 12.64 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003935/0.8667, allocations: 56.77 kB / 0.5903 GB, free: 12.64 MB / 446.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 (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.001086/0.8678, allocations: 405.7 kB / 0.5907 GB, free: 12.46 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.868, allocations: 44.77 kB / 0.5907 GB, free: 12.45 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.868, allocations: 0 / 0.5907 GB, free: 12.45 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.8681, allocations: 17.2 kB / 0.5907 GB, free: 12.45 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.8686, allocations: 139.4 kB / 0.5909 GB, free: 12.36 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.8727, allocations: 2.286 MB / 0.5931 GB, free: 11.33 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.874, allocations: 1.196 MB / 0.5943 GB, free: 10.59 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.001224/0.8753, allocations: 370.9 kB / 0.5946 GB, free: 10.47 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.8757, allocations: 156.2 kB / 0.5948 GB, free: 10.42 MB / 446.3 MB Notification: Performance of SimCode: time 1.563e-06/0.8757, allocations: 0 / 0.5948 GB, free: 10.42 MB / 446.3 MB Notification: Performance of Templates: time 0.0172/0.8929, allocations: 4.656 MB / 0.5993 GB, free: 9.77 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches