Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 112.7 kB / 17.68 MB, free: 5.473 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.001282/0.001282, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.278/1.278, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8618/0.8618, allocations: 119.3 MB / 411.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 0.4924 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.474, allocations: 80.68 MB / 0.5711 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002494/0.4765, allocations: 1.578 MB / 0.5727 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.4776, allocations: 0.8897 MB / 0.5735 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.4777, allocations: 5.25 kB / 0.5736 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000709/0.4784, allocations: 0.8911 MB / 0.5744 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.479, allocations: 0.5275 MB / 0.5749 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.4792, allocations: 109.2 kB / 0.575 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007645/0.48, allocations: 1.163 MB / 0.5762 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.48, allocations: 8.438 kB / 0.5762 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.4805, allocations: 0.58 MB / 0.5768 GB, free: 39.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008195/0.4813, allocations: 1.047 MB / 0.5778 GB, free: 39.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.4815, allocations: 65.5 kB / 0.5778 GB, free: 39.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.4817, allocations: 86.09 kB / 0.5779 GB, free: 39.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.4838, allocations: 2.511 MB / 0.5804 GB, free: 38.22 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0007628/0.4845, allocations: 1.429 MB / 0.5818 GB, free: 37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.4868, allocations: 3.183 MB / 0.5849 GB, free: 35.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4868, allocations: 1.062 kB / 0.5849 GB, free: 35.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4868, allocations: 0 / 0.5849 GB, free: 35.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.127e-05/0.4869, allocations: 0 / 0.5849 GB, free: 35.02 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.00505/0.4919, allocations: 5.176 MB / 0.5899 GB, free: 30.18 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.492, allocations: 15.89 kB / 0.5899 GB, free: 30.17 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/0.4924, allocations: 0.5599 MB / 0.5905 GB, free: 29.6 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007755/0.5001, allocations: 6.54 MB / 0.5969 GB, free: 22.98 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.5002, allocations: 4.375 kB / 0.5969 GB, free: 22.98 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.5002, allocations: 8.062 kB / 0.5969 GB, free: 22.97 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.5003, allocations: 61.59 kB / 0.597 GB, free: 22.9 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.5004, allocations: 4 kB / 0.597 GB, free: 22.9 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.5004, allocations: 0 / 0.597 GB, free: 22.9 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5004, allocations: 3.938 kB / 0.597 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.5005, allocations: 15.98 kB / 0.597 GB, free: 22.88 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.5019, allocations: 1.859 MB / 0.5988 GB, free: 20.97 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.502, allocations: 50.62 kB / 0.5988 GB, free: 20.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.5021, allocations: 28.78 kB / 0.5989 GB, free: 20.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.5021, allocations: 4 kB / 0.5989 GB, free: 20.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.5023, allocations: 63.33 kB / 0.5989 GB, free: 20.8 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.5023, allocations: 0 / 0.5989 GB, free: 20.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.000596/0.5029, allocations: 0.6544 MB / 0.5996 GB, free: 20.14 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.5029, allocations: 51.41 kB / 0.5996 GB, free: 20.07 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005309/0.5082, allocations: 6.442 MB / 0.6059 GB, free: 13.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.5082, allocations: 29.7 kB / 0.6059 GB, free: 13.64 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.5098, allocations: 2.668 MB / 0.6085 GB, free: 10.97 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.5098, allocations: 11.84 kB / 0.6086 GB, free: 10.96 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.5099, allocations: 25.61 kB / 0.6086 GB, free: 10.93 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.5099, allocations: 306 kB / 0.6089 GB, free: 10.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.51, allocations: 12 kB / 0.6089 GB, free: 10.61 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.5101, allocations: 33.95 kB / 0.6089 GB, free: 10.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.265e-05/0.5102, allocations: 49.7 kB / 0.609 GB, free: 10.52 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5102, allocations: 0 / 0.609 GB, free: 10.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005418/0.5107, allocations: 0.6465 MB / 0.6096 GB, free: 9.855 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5107, allocations: 4 kB / 0.6096 GB, free: 9.852 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5107, allocations: 0 / 0.6096 GB, free: 9.852 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5108, allocations: 4 kB / 0.6096 GB, free: 9.848 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.5109, allocations: 11.98 kB / 0.6096 GB, free: 9.836 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5109, allocations: 4.031 kB / 0.6096 GB, free: 9.832 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.5112, allocations: 16 kB / 0.6096 GB, free: 9.816 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.5113, allocations: 4 kB / 0.6096 GB, free: 9.812 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.001175/0.5124, allocations: 1.29 MB / 0.6109 GB, free: 8.512 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.5128, allocations: 0.5863 MB / 0.6115 GB, free: 7.918 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.5133, allocations: 0.6521 MB / 0.6121 GB, free: 7.266 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5133, allocations: 0 / 0.6121 GB, free: 7.266 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5133, allocations: 0 / 0.6121 GB, free: 7.266 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.5133, allocations: 0 / 0.6121 GB, free: 7.266 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.5146, allocations: 2.031 MB / 0.6141 GB, free: 5.188 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5147, allocations: 3.938 kB / 0.6141 GB, free: 5.184 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.5147, allocations: 3.984 kB / 0.6141 GB, free: 5.18 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5147, allocations: 4 kB / 0.6141 GB, free: 5.176 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5147, allocations: 3.938 kB / 0.6141 GB, free: 5.172 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5147, allocations: 0 / 0.6141 GB, free: 5.172 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5147, allocations: 3.984 kB / 0.6141 GB, free: 5.168 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.5152, allocations: 0.7213 MB / 0.6148 GB, free: 4.422 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005993/0.5158, allocations: 0.5249 MB / 0.6153 GB, free: 3.871 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.516, allocations: 23.92 kB / 0.6153 GB, free: 3.848 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.5164, allocations: 16 kB / 0.6154 GB, free: 3.832 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.5164, allocations: 4 kB / 0.6154 GB, free: 3.828 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.5164, allocations: 0 / 0.6154 GB, free: 3.828 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004217/0.5206, allocations: 4.42 MB / 0.6197 GB, free: 15.45 MB / 478.3 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5206, allocations: 0 / 0.6197 GB, free: 15.45 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.000528/0.5212, allocations: 168 kB / 0.6198 GB, free: 15.29 MB / 478.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.0009029/0.5221, allocations: 421.7 kB / 0.6202 GB, free: 15.02 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.5223, allocations: 43.97 kB / 0.6203 GB, free: 14.98 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5223, allocations: 0 / 0.6203 GB, free: 14.98 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.5224, allocations: 23.88 kB / 0.6203 GB, free: 14.96 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5236, allocations: 470.7 kB / 0.6208 GB, free: 14.5 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.5353, allocations: 8.416 MB / 0.629 GB, free: 6.055 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/0.5377, allocations: 2.733 MB / 0.6316 GB, free: 3.297 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002678/0.5404, allocations: 1.399 MB / 0.633 GB, free: 1.891 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008067/0.5413, allocations: 0.5694 MB / 0.6336 GB, free: 1.32 MB / 478.3 MB Notification: Performance of SimCode: time 9.32e-07/0.5413, allocations: 0 / 0.6336 GB, free: 1.32 MB / 478.3 MB Notification: Performance of Templates: time 0.04122/0.5825, allocations: 15.61 MB / 0.6488 GB, free: 1.688 MB / 494.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches