Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 110.1 kB / 17.28 MB, free: 6.219 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.001519/0.001519, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.35/1.35, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.002/1.002, allocations: 119.3 MB / 411.4 MB, free: 9.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.4911 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5737/0.5749, allocations: 80.68 MB / 0.5699 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002661/0.5776, allocations: 1.484 MB / 0.5713 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009316/0.5786, allocations: 0.5604 MB / 0.5719 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.5787, allocations: 3.938 kB / 0.5719 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004823/0.5835, allocations: 6.843 MB / 0.5786 GB, free: 38.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.5882, allocations: 6.893 MB / 0.5853 GB, free: 34.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.5887, allocations: 70.62 kB / 0.5854 GB, free: 33.99 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.6006, allocations: 17.03 MB / 0.602 GB, free: 16.93 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.015e-05/0.6008, allocations: 7.984 kB / 0.602 GB, free: 16.93 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01123/0.612, allocations: 8.454 MB / 0.6102 GB, free: 8.457 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02122/0.6333, allocations: 16.14 MB / 0.626 GB, free: 8.293 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.006512/0.6398, allocations: 0.9805 MB / 0.627 GB, free: 7.312 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006553/0.6464, allocations: 1.059 MB / 0.628 GB, free: 6.254 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04239/0.6889, allocations: 39.8 MB / 0.6669 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.03751/0.7264, allocations: 22.48 MB / 0.6888 GB, free: 7.641 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.04897/0.7754, allocations: 37.17 MB / 0.7251 GB, free: 2.367 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.7755, allocations: 0 / 0.7251 GB, free: 2.367 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7755, allocations: 0 / 0.7251 GB, free: 2.367 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.002119/0.7776, allocations: 0 / 0.7251 GB, free: 2.367 MB / 0.5608 GB 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.6815/1.459, allocations: 77.13 MB / 0.8004 GB, free: 85.14 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.459, allocations: 8.031 kB / 0.8004 GB, free: 85.13 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/1.474, allocations: 8.801 MB / 0.809 GB, free: 76.21 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2731/1.748, allocations: 103 MB / 0.9097 GB, free: 4.574 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/1.748, allocations: 4.375 kB / 0.9097 GB, free: 4.57 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001846/1.75, allocations: 252.4 kB / 0.9099 GB, free: 4.324 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007823/1.757, allocations: 2.972 MB / 0.9128 GB, free: 1.344 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.757, allocations: 4 kB / 0.9128 GB, free: 1.34 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/1.759, allocations: 257 kB / 0.9131 GB, free: 1.09 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.759, allocations: 0 / 0.9131 GB, free: 1.09 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/1.762, allocations: 1.729 MB / 0.9148 GB, free: 15.36 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06357/1.825, allocations: 27.55 MB / 0.9417 GB, free: 3.742 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004744/1.83, allocations: 1.018 MB / 0.9427 GB, free: 2.715 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003633/1.834, allocations: 1.005 MB / 0.9436 GB, free: 1.707 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/1.834, allocations: 0 / 0.9436 GB, free: 1.707 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002943/1.837, allocations: 2.537 MB / 0.9461 GB, free: 15.15 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 4.207e-06/1.837, allocations: 4.781 kB / 0.9461 GB, free: 15.15 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.02809/1.865, allocations: 16.5 MB / 0.9622 GB, free: 14.51 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/1.865, allocations: 80.7 kB / 0.9623 GB, free: 14.42 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5931/2.458, allocations: 99.07 MB / 1.059 GB, free: 203.8 MB / 0.7485 GB Notification: Performance of collectPreVariables (initialization): time 0.002537/2.461, allocations: 275.6 kB / 1.059 GB, free: 203.7 MB / 0.7485 GB Notification: Performance of collectInitialEqns (initialization): time 0.05825/2.519, allocations: 46.97 MB / 1.105 GB, free: 165.5 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.001958/2.521, allocations: 267.3 kB / 1.105 GB, free: 165.5 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005996/2.527, allocations: 1.731 MB / 1.107 GB, free: 165.5 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 7.165e-05/2.527, allocations: 311.7 kB / 1.107 GB, free: 165.2 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004025/2.531, allocations: 0.9963 MB / 1.108 GB, free: 165.2 MB / 0.7485 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/2.535, allocations: 0.9942 MB / 1.109 GB, free: 165.2 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006636/2.542, allocations: 2.051 MB / 1.111 GB, free: 165.1 MB / 0.7485 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/2.542, allocations: 0 / 1.111 GB, free: 165.1 MB / 0.7485 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02879/2.571, allocations: 15.51 MB / 1.127 GB, free: 165 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/2.571, allocations: 42.84 kB / 1.127 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/2.571, allocations: 0.6562 kB / 1.127 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/2.571, allocations: 0 / 1.127 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/2.571, allocations: 5.844 kB / 1.127 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/2.571, allocations: 5.344 kB / 1.127 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01579/2.587, allocations: 254 kB / 1.127 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007652/2.594, allocations: 3.421 MB / 1.13 GB, free: 164.5 MB / 0.7485 GB 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.02629/2.621, allocations: 19.19 MB / 1.149 GB, free: 161.5 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01691/2.638, allocations: 9.043 MB / 1.158 GB, free: 161.5 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02061/2.658, allocations: 10.22 MB / 1.168 GB, free: 157.1 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/2.658, allocations: 3.938 kB / 1.168 GB, free: 157.1 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.658, allocations: 0.8125 kB / 1.168 GB, free: 157.1 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/2.658, allocations: 0 / 1.168 GB, free: 157.1 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06624/2.725, allocations: 30 MB / 1.197 GB, free: 132.4 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/2.725, allocations: 0 / 1.197 GB, free: 132.4 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/2.725, allocations: 5.797 kB / 1.197 GB, free: 132.4 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/2.725, allocations: 0 / 1.197 GB, free: 132.4 MB / 0.7485 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002288/2.727, allocations: 0.737 MB / 1.198 GB, free: 131.7 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/2.727, allocations: 3.938 kB / 1.198 GB, free: 131.7 MB / 0.7485 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.727, allocations: 0 / 1.198 GB, free: 131.7 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.025/2.752, allocations: 16.14 MB / 1.214 GB, free: 115.4 MB / 0.7485 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01865/2.771, allocations: 7.665 MB / 1.221 GB, free: 107.6 MB / 0.7485 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01094/2.782, allocations: 253.1 kB / 1.221 GB, free: 107.4 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01419/2.796, allocations: 259.9 kB / 1.221 GB, free: 107.1 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/2.796, allocations: 6 kB / 1.221 GB, free: 107.1 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005757/2.802, allocations: 3.424 MB / 1.225 GB, free: 103.7 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.1133/2.915, allocations: 68.97 MB / 1.292 GB, free: 35.38 MB / 0.7485 GB Notification: Performance of sort global known variables: time 7.01e-07/2.915, allocations: 4 kB / 1.292 GB, free: 35.37 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.01432/2.93, allocations: 2.472 MB / 1.295 GB, free: 32.9 MB / 0.7485 GB 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.002058/2.932, allocations: 377.6 kB / 1.295 GB, free: 32.53 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.008349/2.94, allocations: 2.338 MB / 1.297 GB, free: 30.18 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/2.94, allocations: 0 / 1.297 GB, free: 30.18 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/2.942, allocations: 1.329 MB / 1.299 GB, free: 28.84 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04975/2.992, allocations: 6.746 MB / 1.305 GB, free: 22.09 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5732/3.565, allocations: 165 MB / 1.466 GB, free: 165 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0575/3.622, allocations: 34.38 MB / 1.5 GB, free: 130.6 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006744/3.629, allocations: 3.914 MB / 1.504 GB, free: 126.7 MB / 0.7485 GB Notification: Performance of SimCode: time 1.673e-06/3.629, allocations: 0 / 1.504 GB, free: 126.7 MB / 0.7485 GB Notification: Performance of Templates: time 80.72/84.35, allocations: 23.63 GB / 25.13 GB, free: 103.1 MB / 0.9517 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches