Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 92.27 kB / 16.65 MB, free: 6.59 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.001127/0.001127, allocations: 185 kB / 17.57 MB, free: 6.199 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.437/1.437, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.062/1.062, allocations: 120.5 MB / 413.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003877, allocations: 8 kB / 0.4949 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7093/0.7098, allocations: 82.83 MB / 0.5758 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.001724/0.7115, allocations: 1.294 MB / 0.577 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.7128, allocations: 0.8574 MB / 0.5779 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.7129, allocations: 0 / 0.5779 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005721/0.7135, allocations: 481.8 kB / 0.5783 GB, free: 39.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.7138, allocations: 301.8 kB / 0.5786 GB, free: 39.28 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.7141, allocations: 94.05 kB / 0.5787 GB, free: 39.22 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.7146, allocations: 0.6315 MB / 0.5793 GB, free: 38.9 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.7146, allocations: 4.625 kB / 0.5793 GB, free: 38.9 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.7149, allocations: 320.2 kB / 0.5797 GB, free: 38.75 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.7154, allocations: 0.5148 MB / 0.5802 GB, free: 38.53 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.658e-05/0.7155, allocations: 33 kB / 0.5802 GB, free: 38.53 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.7156, allocations: 57.5 kB / 0.5802 GB, free: 38.52 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.7168, allocations: 1.265 MB / 0.5815 GB, free: 37.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.7172, allocations: 0.7568 MB / 0.5822 GB, free: 37.24 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.7184, allocations: 1.553 MB / 0.5837 GB, free: 36.24 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7184, allocations: 1.281 kB / 0.5837 GB, free: 36.24 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7184, allocations: 0 / 0.5837 GB, free: 36.24 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.7185, allocations: 3.938 kB / 0.5837 GB, free: 36.24 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.002522/0.721, allocations: 2.481 MB / 0.5862 GB, free: 34.26 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.721, allocations: 9.688 kB / 0.5862 GB, free: 34.26 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.7214, allocations: 290.1 kB / 0.5864 GB, free: 34.1 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004147/0.7255, allocations: 3.347 MB / 0.5897 GB, free: 31.89 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.7255, allocations: 384 / 0.5897 GB, free: 31.89 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.7256, allocations: 8.109 kB / 0.5897 GB, free: 31.88 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.7257, allocations: 53.67 kB / 0.5898 GB, free: 31.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.7257, allocations: 0 / 0.5898 GB, free: 31.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.7258, allocations: 3.938 kB / 0.5898 GB, free: 31.82 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.7258, allocations: 4 kB / 0.5898 GB, free: 31.81 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.7258, allocations: 19.92 kB / 0.5898 GB, free: 31.79 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009139/0.7268, allocations: 1.008 MB / 0.5908 GB, free: 30.74 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.7269, allocations: 46.62 kB / 0.5908 GB, free: 30.69 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.727, allocations: 24.78 kB / 0.5909 GB, free: 30.66 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.727, allocations: 4 kB / 0.5909 GB, free: 30.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.7272, allocations: 67.33 kB / 0.5909 GB, free: 30.58 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.7272, allocations: 3.938 kB / 0.5909 GB, free: 30.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0004255/0.7276, allocations: 381.8 kB / 0.5913 GB, free: 30.19 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.7277, allocations: 51.41 kB / 0.5913 GB, free: 30.13 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.7304, allocations: 3.288 MB / 0.5945 GB, free: 26.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.7304, allocations: 25.7 kB / 0.5946 GB, free: 26.83 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008094/0.7313, allocations: 1.322 MB / 0.5959 GB, free: 25.51 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.7313, allocations: 15.75 kB / 0.5959 GB, free: 25.49 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.7313, allocations: 17.7 kB / 0.5959 GB, free: 25.47 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.7314, allocations: 306 kB / 0.5962 GB, free: 25.16 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.7315, allocations: 12 kB / 0.5962 GB, free: 25.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.7315, allocations: 29.7 kB / 0.5962 GB, free: 25.12 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/0.7316, allocations: 53.89 kB / 0.5963 GB, free: 25.06 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7316, allocations: 0 / 0.5963 GB, free: 25.06 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003549/0.732, allocations: 373.7 kB / 0.5966 GB, free: 24.68 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.732, allocations: 4 kB / 0.5966 GB, free: 24.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.732, allocations: 0 / 0.5966 GB, free: 24.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.732, allocations: 0 / 0.5966 GB, free: 24.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.7321, allocations: 19.98 kB / 0.5967 GB, free: 24.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.7321, allocations: 0 / 0.5967 GB, free: 24.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.7323, allocations: 8 kB / 0.5967 GB, free: 24.65 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.7324, allocations: 8.031 kB / 0.5967 GB, free: 24.64 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.000632/0.733, allocations: 0.7068 MB / 0.5974 GB, free: 23.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.7332, allocations: 304.2 kB / 0.5977 GB, free: 23.63 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.7335, allocations: 337.8 kB / 0.598 GB, free: 23.3 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7335, allocations: 0 / 0.598 GB, free: 23.3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7335, allocations: 0 / 0.598 GB, free: 23.3 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7335, allocations: 0 / 0.598 GB, free: 23.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.7343, allocations: 1.101 MB / 0.5991 GB, free: 22.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.7343, allocations: 0 / 0.5991 GB, free: 22.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.7343, allocations: 11.92 kB / 0.5991 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7343, allocations: 4 kB / 0.5991 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.7343, allocations: 0 / 0.5991 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.7343, allocations: 0 / 0.5991 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7343, allocations: 0 / 0.5991 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.7347, allocations: 423.5 kB / 0.5995 GB, free: 21.71 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.7349, allocations: 345.1 kB / 0.5998 GB, free: 21.35 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.7351, allocations: 12.12 kB / 0.5998 GB, free: 21.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.7353, allocations: 16 kB / 0.5998 GB, free: 21.32 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.7353, allocations: 0 / 0.5998 GB, free: 21.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.7353, allocations: 7.984 kB / 0.5998 GB, free: 21.31 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.002068/0.7374, allocations: 2.259 MB / 0.602 GB, free: 19.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7374, allocations: 0 / 0.602 GB, free: 19.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003508/0.7378, allocations: 104 kB / 0.6021 GB, free: 18.97 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.0009811/0.7387, allocations: 407.6 kB / 0.6025 GB, free: 18.72 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.7389, allocations: 43.98 kB / 0.6026 GB, free: 18.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7389, allocations: 0 / 0.6026 GB, free: 18.68 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.739, allocations: 24.05 kB / 0.6026 GB, free: 18.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.7398, allocations: 247.1 kB / 0.6028 GB, free: 18.41 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.7446, allocations: 4.761 MB / 0.6075 GB, free: 13.61 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009898/0.7456, allocations: 1.707 MB / 0.6091 GB, free: 11.87 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001634/0.7473, allocations: 0.7253 MB / 0.6099 GB, free: 11.14 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/0.7478, allocations: 299.2 kB / 0.6101 GB, free: 10.84 MB / 462.3 MB Notification: Performance of SimCode: time 9.72e-07/0.7478, allocations: 0 / 0.6101 GB, free: 10.84 MB / 462.3 MB Notification: Performance of Templates: time 0.02041/0.7682, allocations: 8.126 MB / 0.6181 GB, free: 2.723 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches