Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 103.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.002324/0.002324, 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.623/1.623, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.246/1.246, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 55.91 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6878, allocations: 80.69 MB / 0.5697 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002442/0.6903, allocations: 1.412 MB / 0.5711 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008624/0.6912, allocations: 0.5694 MB / 0.5717 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.6913, allocations: 5.375 kB / 0.5717 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.6919, allocations: 0.8621 MB / 0.5725 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007864/0.6927, allocations: 0.9087 MB / 0.5734 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.6931, allocations: 80.97 kB / 0.5735 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.6948, allocations: 2.189 MB / 0.5756 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.6948, allocations: 2.75 kB / 0.5756 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.6959, allocations: 1.086 MB / 0.5767 GB, free: 39.28 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.6976, allocations: 2.052 MB / 0.5787 GB, free: 38.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.6979, allocations: 127.5 kB / 0.5788 GB, free: 38.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.6983, allocations: 201.5 kB / 0.579 GB, free: 38.44 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003987/0.7023, allocations: 4.982 MB / 0.5839 GB, free: 35.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.7038, allocations: 2.831 MB / 0.5866 GB, free: 32.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.7066, allocations: 6.128 MB / 0.5926 GB, free: 26.16 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7066, allocations: 0 / 0.5926 GB, free: 26.16 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7066, allocations: 4 kB / 0.5926 GB, free: 26.16 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.357e-05/0.7067, allocations: 0 / 0.5926 GB, free: 26.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.006745/0.7134, allocations: 9.955 MB / 0.6023 GB, free: 16.06 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.7135, allocations: 12.03 kB / 0.6024 GB, free: 16.05 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007228/0.7142, allocations: 1.107 MB / 0.6034 GB, free: 14.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.728, allocations: 12.95 MB / 0.6161 GB, free: 1.855 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.7281, allocations: 8.312 kB / 0.6161 GB, free: 1.848 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/0.7282, allocations: 36.38 kB / 0.6161 GB, free: 1.812 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.7286, allocations: 425.6 kB / 0.6165 GB, free: 1.391 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7286, allocations: 0 / 0.6165 GB, free: 1.391 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/0.7287, allocations: 32 kB / 0.6166 GB, free: 1.359 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7287, allocations: 0 / 0.6166 GB, free: 1.359 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.729, allocations: 236 kB / 0.6168 GB, free: 1.129 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.7321, allocations: 3.576 MB / 0.6203 GB, free: 13.51 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.7324, allocations: 166.5 kB / 0.6204 GB, free: 13.34 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.7326, allocations: 160.8 kB / 0.6206 GB, free: 13.18 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.7326, allocations: 0 / 0.6206 GB, free: 13.18 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004775/0.7331, allocations: 412.6 kB / 0.621 GB, free: 12.75 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.7331, allocations: 4 kB / 0.621 GB, free: 12.75 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.002534/0.7357, allocations: 2.188 MB / 0.6231 GB, free: 10.54 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.7357, allocations: 85.05 kB / 0.6232 GB, free: 10.43 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01685/0.7526, allocations: 12.47 MB / 0.6354 GB, free: 14.06 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.7528, allocations: 57.7 kB / 0.6354 GB, free: 14 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.00489/0.7577, allocations: 5.204 MB / 0.6405 GB, free: 8.793 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.7579, allocations: 55.88 kB / 0.6406 GB, free: 8.738 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.7582, allocations: 241.7 kB / 0.6408 GB, free: 8.496 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.7583, allocations: 310 kB / 0.6411 GB, free: 8.188 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.7585, allocations: 144 kB / 0.6412 GB, free: 8.047 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.7588, allocations: 144 kB / 0.6414 GB, free: 7.906 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.7593, allocations: 352.2 kB / 0.6417 GB, free: 7.547 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.7593, allocations: 0 / 0.6417 GB, free: 7.547 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002475/0.7618, allocations: 2.055 MB / 0.6437 GB, free: 5.465 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.7618, allocations: 33.7 kB / 0.6437 GB, free: 5.426 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7618, allocations: 0 / 0.6437 GB, free: 5.426 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7619, allocations: 0 / 0.6437 GB, free: 5.426 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.7619, allocations: 8 kB / 0.6438 GB, free: 5.418 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.7619, allocations: 4 kB / 0.6438 GB, free: 5.414 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007731/0.7627, allocations: 43.98 kB / 0.6438 GB, free: 5.371 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003387/0.7631, allocations: 436 kB / 0.6442 GB, free: 4.945 MB / 494.3 MB 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.003231/0.7663, allocations: 2.531 MB / 0.6467 GB, free: 2.398 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.7674, allocations: 1.145 MB / 0.6478 GB, free: 1.238 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.7689, allocations: 1.28 MB / 0.6491 GB, free: 15.95 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.7689, allocations: 0 / 0.6491 GB, free: 15.95 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7689, allocations: 7.938 kB / 0.6491 GB, free: 15.94 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7689, allocations: 0 / 0.6491 GB, free: 15.94 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/0.7723, allocations: 3.884 MB / 0.6529 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.7724, allocations: 0 / 0.6529 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.7724, allocations: 15.86 kB / 0.6529 GB, free: 12 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.7724, allocations: 0 / 0.6529 GB, free: 12 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.7725, allocations: 96 kB / 0.653 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7726, allocations: 0 / 0.653 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7726, allocations: 4 kB / 0.653 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.775, allocations: 2.158 MB / 0.6551 GB, free: 9.703 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.7763, allocations: 1.041 MB / 0.6561 GB, free: 8.629 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/0.7768, allocations: 32 kB / 0.6561 GB, free: 8.598 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000581/0.7774, allocations: 36 kB / 0.6562 GB, free: 8.562 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.7775, allocations: 7.984 kB / 0.6562 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003183/0.7778, allocations: 440 kB / 0.6566 GB, free: 8.125 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01146/0.7893, allocations: 8.571 MB / 0.665 GB, free: 15.63 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.783e-06/0.7893, allocations: 0 / 0.665 GB, free: 15.63 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001672/0.791, allocations: 343.9 kB / 0.6653 GB, free: 15.29 MB / 0.5139 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.0002655/0.7912, allocations: 163.6 kB / 0.6654 GB, free: 15.13 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007056/0.792, allocations: 419.4 kB / 0.6658 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.792, allocations: 0 / 0.6658 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.7924, allocations: 267.4 kB / 0.6661 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.7946, allocations: 0.8458 MB / 0.6669 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02588/0.8205, allocations: 17.26 MB / 0.6838 GB, free: 12.29 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007073/0.8277, allocations: 4.785 MB / 0.6884 GB, free: 7.477 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.006343/0.8341, allocations: 2.426 MB / 0.6908 GB, free: 5.039 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/0.8347, allocations: 0.4995 MB / 0.6913 GB, free: 4.539 MB / 0.5295 GB Notification: Performance of SimCode: time 1.162e-06/0.8347, allocations: 0 / 0.6913 GB, free: 4.539 MB / 0.5295 GB Notification: Performance of Templates: time 0.09951/0.9342, allocations: 41.12 MB / 0.7315 GB, free: 11.3 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches