Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 108.2 kB / 17.74 MB, free: 5.359 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.001212/0.001212, allocations: 183.1 kB / 18.67 MB, free: 4.441 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.365/1.365, allocations: 222.9 MB / 242.4 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.9776/0.9776, allocations: 119.3 MB / 411.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.83 kB / 0.5716 GB, free: 39.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 80.69 MB / 0.6504 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003017/0.1565, allocations: 1.413 MB / 0.6518 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1577, allocations: 0.5729 MB / 0.6523 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.1578, allocations: 0 / 0.6523 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.16, allocations: 3.426 MB / 0.6557 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.1623, allocations: 3.465 MB / 0.659 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1627, allocations: 87.77 kB / 0.6591 GB, free: 4.152 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.006345/0.169, allocations: 8.555 MB / 0.6675 GB, free: 11.59 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.1691, allocations: 0 / 0.6675 GB, free: 11.59 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005559/0.1747, allocations: 4.25 MB / 0.6716 GB, free: 7.328 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.185, allocations: 8.081 MB / 0.6795 GB, free: 15.23 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001758/0.1868, allocations: 500 kB / 0.68 GB, free: 14.75 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.188, allocations: 0.5702 MB / 0.6806 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0201/0.2081, allocations: 19.91 MB / 0.7 GB, free: 10.21 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01599/0.2241, allocations: 11.25 MB / 0.711 GB, free: 14.85 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.02929/0.2535, allocations: 24.74 MB / 0.7351 GB, free: 5.977 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.2535, allocations: 0 / 0.7351 GB, free: 5.977 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2535, allocations: 0 / 0.7351 GB, free: 5.977 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001098/0.2546, allocations: 0 / 0.7351 GB, free: 5.977 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.7343/0.9889, allocations: 38.75 MB / 0.773 GB, free: 84.44 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.989, allocations: 9.938 kB / 0.773 GB, free: 84.44 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007856/0.9969, allocations: 4.401 MB / 0.7773 GB, free: 83.7 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1143/1.111, allocations: 51.58 MB / 0.8277 GB, free: 45.42 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/1.111, allocations: 4.375 kB / 0.8277 GB, free: 45.41 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/1.112, allocations: 124.4 kB / 0.8278 GB, free: 45.29 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/1.113, allocations: 1.518 MB / 0.8293 GB, free: 43.77 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.113, allocations: 3.281 kB / 0.8293 GB, free: 43.77 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/1.113, allocations: 131.9 kB / 0.8294 GB, free: 43.64 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.113, allocations: 0 / 0.8294 GB, free: 43.64 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/1.114, allocations: 0.8711 MB / 0.8302 GB, free: 42.77 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0196/1.134, allocations: 13.85 MB / 0.8438 GB, free: 28.86 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/1.135, allocations: 0.522 MB / 0.8443 GB, free: 28.33 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/1.136, allocations: 0.5242 MB / 0.8448 GB, free: 27.8 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/1.136, allocations: 0 / 0.8448 GB, free: 27.8 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/1.137, allocations: 1.312 MB / 0.8461 GB, free: 26.47 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/1.137, allocations: 0 / 0.8461 GB, free: 26.47 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01063/1.147, allocations: 8.331 MB / 0.8542 GB, free: 18.07 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/1.147, allocations: 77.11 kB / 0.8543 GB, free: 17.98 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08232/1.23, allocations: 49.58 MB / 0.9027 GB, free: 0.8125 MB / 0.6392 GB Notification: Performance of collectPreVariables (initialization): time 0.0009194/1.231, allocations: 149.7 kB / 0.9028 GB, free: 0.6602 MB / 0.6392 GB Notification: Performance of collectInitialEqns (initialization): time 0.03001/1.261, allocations: 22.55 MB / 0.9249 GB, free: 10.1 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001312/1.262, allocations: 143.7 kB / 0.925 GB, free: 9.957 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/1.263, allocations: 0.8743 MB / 0.9259 GB, free: 9.078 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.263, allocations: 314 kB / 0.9262 GB, free: 8.766 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/1.264, allocations: 0.5039 MB / 0.9267 GB, free: 8.262 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/1.265, allocations: 0.5049 MB / 0.9271 GB, free: 7.758 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/1.266, allocations: 1.082 MB / 0.9282 GB, free: 6.664 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.266, allocations: 1.125 kB / 0.9282 GB, free: 6.664 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01284/1.279, allocations: 7.818 MB / 0.9358 GB, free: 14.77 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/1.279, allocations: 40.55 kB / 0.9359 GB, free: 14.73 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.279, allocations: 7.656 kB / 0.9359 GB, free: 14.73 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.279, allocations: 0 / 0.9359 GB, free: 14.73 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/1.279, allocations: 4 kB / 0.9359 GB, free: 14.72 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/1.279, allocations: 0 / 0.9359 GB, free: 14.72 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006494/1.286, allocations: 138.3 kB / 0.936 GB, free: 14.59 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/1.288, allocations: 1.715 MB / 0.9377 GB, free: 12.88 MB / 0.686 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.01734/1.305, allocations: 9.665 MB / 0.9471 GB, free: 3.188 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009197/1.314, allocations: 4.523 MB / 0.9516 GB, free: 14.61 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/1.326, allocations: 5.115 MB / 0.9565 GB, free: 9.484 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.327, allocations: 0.5938 kB / 0.9565 GB, free: 9.484 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.327, allocations: 5.688 kB / 0.9566 GB, free: 9.48 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.327, allocations: 3.812 kB / 0.9566 GB, free: 9.48 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02854/1.355, allocations: 15.07 MB / 0.9713 GB, free: 10.34 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.355, allocations: 0 / 0.9713 GB, free: 10.34 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/1.355, allocations: 4 kB / 0.9713 GB, free: 10.34 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/1.355, allocations: 3.938 kB / 0.9713 GB, free: 10.34 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00113/1.356, allocations: 376 kB / 0.9716 GB, free: 9.969 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.309e-05/1.356, allocations: 4 kB / 0.9716 GB, free: 9.965 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.356, allocations: 0 / 0.9716 GB, free: 9.965 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.369, allocations: 8.16 MB / 0.9796 GB, free: 1.727 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008917/1.378, allocations: 3.884 MB / 0.9834 GB, free: 13.76 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004181/1.382, allocations: 132.8 kB / 0.9835 GB, free: 13.63 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004326/1.386, allocations: 124 kB / 0.9837 GB, free: 13.51 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/1.386, allocations: 6.016 kB / 0.9837 GB, free: 13.51 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001511/1.388, allocations: 1.718 MB / 0.9853 GB, free: 11.79 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.06392/1.452, allocations: 34.49 MB / 1.019 GB, free: 9.609 MB / 0.7642 GB Notification: Performance of sort global known variables: time 4.41e-07/1.452, allocations: 0 / 1.019 GB, free: 9.609 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.006737/1.458, allocations: 1.253 MB / 1.02 GB, free: 8.359 MB / 0.7642 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.0008908/1.459, allocations: 251.8 kB / 1.02 GB, free: 8.109 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.003181/1.463, allocations: 1.241 MB / 1.022 GB, free: 6.855 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.463, allocations: 3 kB / 1.022 GB, free: 6.855 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/1.464, allocations: 0.7142 MB / 1.022 GB, free: 6.129 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02085/1.485, allocations: 3.379 MB / 1.026 GB, free: 2.746 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4698/1.955, allocations: 72.3 MB / 1.096 GB, free: 282.2 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03376/1.988, allocations: 17.33 MB / 1.113 GB, free: 276.3 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003753/1.992, allocations: 1.963 MB / 1.115 GB, free: 276.3 MB / 0.8267 GB Notification: Performance of SimCode: time 1.413e-06/1.992, allocations: 0 / 1.115 GB, free: 276.3 MB / 0.8267 GB Notification: Performance of Templates: time 19.44/21.43, allocations: 6.098 GB / 7.213 GB, free: 350.2 MB / 0.9204 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches