Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001239/0.001239, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001376/0.001376, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.534/1.534, allocations: 222.9 MB / 241.5 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.316/1.316, allocations: 119.3 MB / 411 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 63.91 kB / 0.4909 GB, free: 13.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.662/0.6636, allocations: 80.69 MB / 0.5697 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.003195/0.6668, allocations: 1.579 MB / 0.5713 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.6682, allocations: 0.889 MB / 0.5722 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.6683, allocations: 5.469 kB / 0.5722 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0007833/0.6691, allocations: 482.7 kB / 0.5726 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.6697, allocations: 311.8 kB / 0.5729 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.67, allocations: 102.4 kB / 0.573 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.6706, allocations: 0.6357 MB / 0.5736 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.402e-05/0.6707, allocations: 8.859 kB / 0.5736 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.6711, allocations: 323.2 kB / 0.574 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/0.6719, allocations: 0.5447 MB / 0.5745 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.672, allocations: 35 kB / 0.5745 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.6722, allocations: 58.66 kB / 0.5746 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.6736, allocations: 1.265 MB / 0.5758 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.6741, allocations: 0.727 MB / 0.5765 GB, free: 38.99 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.6753, allocations: 1.605 MB / 0.5781 GB, free: 37.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6754, allocations: 0.9062 kB / 0.5781 GB, free: 37.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.215e-06/0.6754, allocations: 0 / 0.5781 GB, free: 37.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.6754, allocations: 3.938 kB / 0.5781 GB, free: 37.97 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.002751/0.6781, allocations: 2.781 MB / 0.5808 GB, free: 35.8 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.6782, allocations: 12.7 kB / 0.5808 GB, free: 35.79 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003593/0.6786, allocations: 289.9 kB / 0.5811 GB, free: 35.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/0.6832, allocations: 3.34 MB / 0.5844 GB, free: 33.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.6833, allocations: 5.625 kB / 0.5844 GB, free: 33.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.6833, allocations: 14.31 kB / 0.5844 GB, free: 33.58 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.6835, allocations: 46.98 kB / 0.5844 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.6835, allocations: 0 / 0.5844 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.6835, allocations: 0.8438 kB / 0.5844 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.6835, allocations: 1.312 kB / 0.5844 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.6836, allocations: 15.5 kB / 0.5844 GB, free: 33.53 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.685, allocations: 1.01 MB / 0.5854 GB, free: 32.85 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.6852, allocations: 55.14 kB / 0.5855 GB, free: 32.81 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.6853, allocations: 24.66 kB / 0.5855 GB, free: 32.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.6853, allocations: 1.219 kB / 0.5855 GB, free: 32.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.6855, allocations: 63.98 kB / 0.5856 GB, free: 32.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 2.705e-06/0.6855, allocations: 7.875 kB / 0.5856 GB, free: 32.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0008178/0.6863, allocations: 388.7 kB / 0.5859 GB, free: 32.5 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.6864, allocations: 51.41 kB / 0.586 GB, free: 32.43 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.6901, allocations: 3.29 MB / 0.5892 GB, free: 29.51 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.6901, allocations: 29.7 kB / 0.5892 GB, free: 29.48 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.6912, allocations: 1.315 MB / 0.5905 GB, free: 28.16 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.6913, allocations: 11.84 kB / 0.5905 GB, free: 28.15 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.6913, allocations: 25.61 kB / 0.5905 GB, free: 28.12 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6914, allocations: 310 kB / 0.5908 GB, free: 27.81 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.6915, allocations: 16 kB / 0.5909 GB, free: 27.79 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.6916, allocations: 29.7 kB / 0.5909 GB, free: 27.76 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.827e-05/0.6917, allocations: 45.64 kB / 0.5909 GB, free: 27.71 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6917, allocations: 0 / 0.5909 GB, free: 27.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004385/0.6921, allocations: 373.7 kB / 0.5913 GB, free: 27.33 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.6922, allocations: 4 kB / 0.5913 GB, free: 27.33 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.6922, allocations: 4.031 kB / 0.5913 GB, free: 27.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.6922, allocations: 0 / 0.5913 GB, free: 27.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.6923, allocations: 11.98 kB / 0.5913 GB, free: 27.31 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.6923, allocations: 4 kB / 0.5913 GB, free: 27.31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.6926, allocations: 12 kB / 0.5913 GB, free: 27.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.6926, allocations: 4.312 kB / 0.5913 GB, free: 27.29 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.0007074/0.6933, allocations: 0.7043 MB / 0.592 GB, free: 26.58 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.6936, allocations: 304.2 kB / 0.5923 GB, free: 26.28 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.694, allocations: 341.8 kB / 0.5926 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.694, allocations: 4 kB / 0.5926 GB, free: 25.94 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.694, allocations: 0 / 0.5926 GB, free: 25.94 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.694, allocations: 0 / 0.5926 GB, free: 25.94 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.6952, allocations: 1.097 MB / 0.5937 GB, free: 24.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6952, allocations: 0 / 0.5937 GB, free: 24.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.6952, allocations: 11.92 kB / 0.5937 GB, free: 24.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.6952, allocations: 0 / 0.5937 GB, free: 24.79 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.6952, allocations: 7.984 kB / 0.5937 GB, free: 24.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6952, allocations: 0 / 0.5937 GB, free: 24.78 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6953, allocations: 0 / 0.5937 GB, free: 24.78 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.6957, allocations: 423.5 kB / 0.5941 GB, free: 24.35 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.696, allocations: 309.2 kB / 0.5944 GB, free: 24.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.6961, allocations: 11.98 kB / 0.5944 GB, free: 24.01 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.6963, allocations: 8 kB / 0.5944 GB, free: 24 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.6964, allocations: 8 kB / 0.5945 GB, free: 24 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.6964, allocations: 0 / 0.5945 GB, free: 24 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.002226/0.6986, allocations: 2.267 MB / 0.5967 GB, free: 21.75 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6986, allocations: 4 kB / 0.5967 GB, free: 21.75 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003558/0.699, allocations: 95.94 kB / 0.5968 GB, free: 21.65 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.001026/0.7, allocations: 416.3 kB / 0.5972 GB, free: 21.4 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.7002, allocations: 39.97 kB / 0.5972 GB, free: 21.36 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.7003, allocations: 0 / 0.5972 GB, free: 21.36 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.113e-05/0.7003, allocations: 23.94 kB / 0.5972 GB, free: 21.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.7011, allocations: 250.4 kB / 0.5975 GB, free: 21.09 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.7054, allocations: 4.258 MB / 0.6016 GB, free: 16.79 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009685/0.7064, allocations: 1.707 MB / 0.6033 GB, free: 15.05 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001602/0.708, allocations: 0.7253 MB / 0.604 GB, free: 14.32 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/0.7085, allocations: 299.2 kB / 0.6043 GB, free: 14.02 MB / 462.3 MB Notification: Performance of SimCode: time 9.52e-07/0.7085, allocations: 0 / 0.6043 GB, free: 14.02 MB / 462.3 MB Notification: Performance of Templates: time 0.02136/0.7299, allocations: 8.372 MB / 0.6125 GB, free: 5.676 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches