Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001304/0.001305, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001449/0.001448, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.477/1.477, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.295/1.295, allocations: 119.3 MB / 411 MB, free: 9.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001547, allocations: 71.88 kB / 0.4909 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7605, allocations: 80.68 MB / 0.5697 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.004062/0.7646, allocations: 1.418 MB / 0.5711 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.7658, allocations: 0.5694 MB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.7659, allocations: 1.25 kB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005916/0.7718, allocations: 6.843 MB / 0.5784 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.7771, allocations: 6.901 MB / 0.5851 GB, free: 33.96 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.7775, allocations: 75.78 kB / 0.5852 GB, free: 33.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01395/0.7915, allocations: 17.03 MB / 0.6018 GB, free: 16.83 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.7917, allocations: 7.984 kB / 0.6018 GB, free: 16.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.806, allocations: 8.458 MB / 0.6101 GB, free: 8.352 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02393/0.8299, allocations: 16.14 MB / 0.6258 GB, free: 8.188 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.008107/0.8381, allocations: 0.9805 MB / 0.6268 GB, free: 7.207 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00747/0.8456, allocations: 1.066 MB / 0.6278 GB, free: 6.141 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04804/0.8937, allocations: 39.8 MB / 0.6667 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.04681/0.9406, allocations: 22.48 MB / 0.6886 GB, free: 7.527 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.07044/1.011, allocations: 48.43 MB / 0.7359 GB, free: 6.824 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/1.011, allocations: 0 / 0.7359 GB, free: 6.824 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.244e-06/1.011, allocations: 0 / 0.7359 GB, free: 6.824 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.002537/1.014, allocations: 0 / 0.7359 GB, free: 6.824 MB / 0.5764 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.9144/1.928, allocations: 77.12 MB / 0.8113 GB, free: 77.91 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.928, allocations: 8.031 kB / 0.8113 GB, free: 77.9 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/1.942, allocations: 8.801 MB / 0.8199 GB, free: 68.98 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3252/2.267, allocations: 103.1 MB / 0.9205 GB, free: 13.63 MB / 0.6392 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/2.268, allocations: 1.031 kB / 0.9205 GB, free: 13.63 MB / 0.6392 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006167/2.268, allocations: 252.4 kB / 0.9207 GB, free: 13.38 MB / 0.6392 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/2.271, allocations: 2.985 MB / 0.9237 GB, free: 10.39 MB / 0.6392 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/2.271, allocations: 3.938 kB / 0.9237 GB, free: 10.39 MB / 0.6392 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004468/2.272, allocations: 248 kB / 0.9239 GB, free: 10.15 MB / 0.6392 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/2.272, allocations: 4 kB / 0.9239 GB, free: 10.14 MB / 0.6392 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/2.275, allocations: 1.734 MB / 0.9256 GB, free: 8.418 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07278/2.347, allocations: 27.54 MB / 0.9525 GB, free: 12.8 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/2.353, allocations: 1.015 MB / 0.9535 GB, free: 11.78 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003507/2.357, allocations: 1.005 MB / 0.9545 GB, free: 10.77 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/2.357, allocations: 0 / 0.9545 GB, free: 10.77 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00293/2.36, allocations: 2.539 MB / 0.9569 GB, free: 8.215 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 2.735e-06/2.36, allocations: 3.375 kB / 0.9569 GB, free: 8.215 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.0334/2.393, allocations: 16.5 MB / 0.9731 GB, free: 7.578 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/2.393, allocations: 79.11 kB / 0.9731 GB, free: 7.484 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7104/3.104, allocations: 99.06 MB / 1.07 GB, free: 206.8 MB / 0.7485 GB Notification: Performance of collectPreVariables (initialization): time 0.001941/3.106, allocations: 276.2 kB / 1.07 GB, free: 206.8 MB / 0.7485 GB Notification: Performance of collectInitialEqns (initialization): time 0.05839/3.164, allocations: 46.97 MB / 1.116 GB, free: 168.6 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.002419/3.167, allocations: 272.3 kB / 1.116 GB, free: 168.6 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007043/3.174, allocations: 1.73 MB / 1.118 GB, free: 168.6 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/3.174, allocations: 313.2 kB / 1.118 GB, free: 168.3 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/3.178, allocations: 0.9907 MB / 1.119 GB, free: 168.3 MB / 0.7485 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/3.181, allocations: 1.001 MB / 1.12 GB, free: 168.3 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/3.185, allocations: 2.054 MB / 1.122 GB, free: 168.2 MB / 0.7485 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/3.185, allocations: 0 / 1.122 GB, free: 168.2 MB / 0.7485 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.03165/3.216, allocations: 15.51 MB / 1.137 GB, free: 168.1 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/3.216, allocations: 42.88 kB / 1.137 GB, free: 168.1 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/3.216, allocations: 3.062 kB / 1.137 GB, free: 168.1 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.249e-05/3.216, allocations: 0.75 kB / 1.137 GB, free: 168.1 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/3.217, allocations: 3.812 kB / 1.137 GB, free: 168.1 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/3.217, allocations: 0 / 1.137 GB, free: 168.1 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01785/3.234, allocations: 256.5 kB / 1.138 GB, free: 168.1 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006771/3.241, allocations: 3.423 MB / 1.141 GB, free: 167.6 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.03457/3.276, allocations: 19.19 MB / 1.16 GB, free: 163.2 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01561/3.291, allocations: 9.038 MB / 1.169 GB, free: 163.2 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02197/3.313, allocations: 10.22 MB / 1.179 GB, free: 156.3 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/3.314, allocations: 6.656 kB / 1.179 GB, free: 156.3 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/3.314, allocations: 0.875 kB / 1.179 GB, free: 156.3 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/3.314, allocations: 4 kB / 1.179 GB, free: 156.3 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07021/3.384, allocations: 30 MB / 1.208 GB, free: 126.2 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/3.384, allocations: 0 / 1.208 GB, free: 126.2 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/3.384, allocations: 4.969 kB / 1.208 GB, free: 126.2 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/3.384, allocations: 0 / 1.208 GB, free: 126.2 MB / 0.7485 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00259/3.386, allocations: 0.7354 MB / 1.209 GB, free: 125.5 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/3.386, allocations: 7.062 kB / 1.209 GB, free: 125.5 MB / 0.7485 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/3.386, allocations: 0 / 1.209 GB, free: 125.5 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02709/3.414, allocations: 16.14 MB / 1.224 GB, free: 109.2 MB / 0.7485 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0278/3.441, allocations: 7.661 MB / 1.232 GB, free: 101.4 MB / 0.7485 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0108/3.452, allocations: 252 kB / 1.232 GB, free: 101.2 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0109/3.463, allocations: 261.6 kB / 1.232 GB, free: 100.9 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/3.463, allocations: 6.375 kB / 1.232 GB, free: 100.9 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003092/3.466, allocations: 3.422 MB / 1.236 GB, free: 97.52 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.1177/3.584, allocations: 68.98 MB / 1.303 GB, free: 29.18 MB / 0.7485 GB Notification: Performance of sort global known variables: time 9.42e-07/3.584, allocations: 0 / 1.303 GB, free: 29.18 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.01469/3.599, allocations: 2.472 MB / 1.305 GB, free: 26.71 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.001684/3.601, allocations: 372.6 kB / 1.306 GB, free: 26.34 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.005668/3.606, allocations: 2.343 MB / 1.308 GB, free: 23.99 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/3.606, allocations: 0 / 1.308 GB, free: 23.99 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/3.608, allocations: 1.324 MB / 1.309 GB, free: 22.66 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06113/3.669, allocations: 6.747 MB / 1.316 GB, free: 15.91 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7136/4.383, allocations: 145.9 MB / 1.458 GB, free: 177.8 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0771/4.46, allocations: 34.38 MB / 1.492 GB, free: 143.4 MB / 0.7485 GB Notification: Performance of simCode: alias equations: time 0.05999/4.52, allocations: 18.7 MB / 1.51 GB, free: 124.6 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007452/4.528, allocations: 3.917 MB / 1.514 GB, free: 120.7 MB / 0.7485 GB Notification: Performance of SimCode: time 1.333e-06/4.528, allocations: 0 / 1.514 GB, free: 120.7 MB / 0.7485 GB Notification: Performance of Templates: time 1.443/5.971, allocations: 339.3 MB / 1.845 GB, free: 52.52 MB / 0.7485 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches