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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 108.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.001386/0.001386, 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.408/1.408, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9777/0.9777, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.89 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5411, allocations: 80.68 MB / 0.5698 GB, free: 43.33 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002621/0.5437, allocations: 1.413 MB / 0.5712 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008663/0.5446, allocations: 0.5659 MB / 0.5718 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.5447, allocations: 0 / 0.5718 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.5468, allocations: 3.432 MB / 0.5751 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.5492, allocations: 3.467 MB / 0.5785 GB, free: 38.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.5495, allocations: 80.8 kB / 0.5786 GB, free: 38.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00573/0.5553, allocations: 8.557 MB / 0.5869 GB, free: 32.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.5554, allocations: 7.938 kB / 0.587 GB, free: 32.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006213/0.5616, allocations: 4.247 MB / 0.5911 GB, free: 27.85 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007861/0.5695, allocations: 8.088 MB / 0.599 GB, free: 19.75 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.5711, allocations: 0.4922 MB / 0.5995 GB, free: 19.25 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.5723, allocations: 0.5624 MB / 0.6 GB, free: 18.69 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01632/0.5886, allocations: 19.9 MB / 0.6195 GB, free: 14.73 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01856/0.6072, allocations: 11.26 MB / 0.6305 GB, free: 3.367 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02533/0.6326, allocations: 24.25 MB / 0.6541 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.6326, allocations: 0 / 0.6541 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.078e-06/0.6326, allocations: 0 / 0.6541 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001303/0.634, allocations: 0 / 0.6541 GB, free: 10.98 MB / 0.4983 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.05973/0.6937, allocations: 38.76 MB / 0.692 GB, free: 3.82 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.6938, allocations: 11.89 kB / 0.692 GB, free: 3.809 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.6938, allocations: 38.75 kB / 0.692 GB, free: 3.762 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008508/0.7023, allocations: 4.399 MB / 0.6963 GB, free: 15.3 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1228/0.8252, allocations: 51.58 MB / 0.7467 GB, free: 11.38 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.8253, allocations: 4.375 kB / 0.7467 GB, free: 11.38 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007063/0.826, allocations: 128.4 kB / 0.7468 GB, free: 11.25 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.8286, allocations: 1.512 MB / 0.7483 GB, free: 9.734 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.8286, allocations: 0 / 0.7483 GB, free: 9.734 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/0.8289, allocations: 128 kB / 0.7484 GB, free: 9.609 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.8289, allocations: 4 kB / 0.7484 GB, free: 9.605 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.8301, allocations: 0.8789 MB / 0.7493 GB, free: 8.727 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.559/1.389, allocations: 13.85 MB / 0.7628 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/1.391, allocations: 0.5232 MB / 0.7633 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/1.392, allocations: 0.5195 MB / 0.7638 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/1.392, allocations: 0 / 0.7638 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/1.394, allocations: 1.322 MB / 0.7651 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.494e-06/1.394, allocations: 0 / 0.7651 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01576/1.41, allocations: 8.317 MB / 0.7732 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/1.41, allocations: 80.58 kB / 0.7733 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0791/1.489, allocations: 49.58 MB / 0.8217 GB, free: 104.3 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006944/1.49, allocations: 149.7 kB / 0.8219 GB, free: 104.2 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02149/1.511, allocations: 22.55 MB / 0.8439 GB, free: 81.61 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.512, allocations: 151.6 kB / 0.844 GB, free: 81.48 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009297/1.513, allocations: 0.8767 MB / 0.8449 GB, free: 80.59 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/1.513, allocations: 310 kB / 0.8452 GB, free: 80.29 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/1.514, allocations: 0.5039 MB / 0.8457 GB, free: 79.78 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000634/1.515, allocations: 0.5039 MB / 0.8462 GB, free: 79.28 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/1.516, allocations: 1.076 MB / 0.8472 GB, free: 78.19 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.516, allocations: 4 kB / 0.8472 GB, free: 78.18 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009487/1.526, allocations: 7.813 MB / 0.8549 GB, free: 72.8 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/1.526, allocations: 43.5 kB / 0.8549 GB, free: 72.76 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.526, allocations: 0 / 0.8549 GB, free: 72.76 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.526, allocations: 0 / 0.8549 GB, free: 72.76 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/1.526, allocations: 4 kB / 0.8549 GB, free: 72.75 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.526, allocations: 4 kB / 0.8549 GB, free: 72.75 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007874/1.534, allocations: 139.8 kB / 0.855 GB, free: 72.61 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001506/1.535, allocations: 1.71 MB / 0.8567 GB, free: 70.91 MB / 0.5923 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.01617/1.551, allocations: 9.678 MB / 0.8662 GB, free: 61.21 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009503/1.561, allocations: 4.526 MB / 0.8706 GB, free: 56.63 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/1.575, allocations: 5.115 MB / 0.8756 GB, free: 51.5 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/1.575, allocations: 0 / 0.8756 GB, free: 51.5 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.575, allocations: 0 / 0.8756 GB, free: 51.5 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.575, allocations: 3.938 kB / 0.8756 GB, free: 51.49 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03604/1.611, allocations: 15.08 MB / 0.8903 GB, free: 36.34 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.611, allocations: 3 kB / 0.8903 GB, free: 36.34 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/1.611, allocations: 4 kB / 0.8903 GB, free: 36.34 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/1.611, allocations: 3.984 kB / 0.8903 GB, free: 36.34 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/1.613, allocations: 376 kB / 0.8907 GB, free: 35.97 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.613, allocations: 0 / 0.8907 GB, free: 35.97 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.613, allocations: 0 / 0.8907 GB, free: 35.97 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.623, allocations: 8.156 MB / 0.8986 GB, free: 27.74 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009888/1.633, allocations: 3.876 MB / 0.9024 GB, free: 23.79 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005155/1.638, allocations: 128 kB / 0.9025 GB, free: 23.66 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00487/1.643, allocations: 128.9 kB / 0.9027 GB, free: 23.54 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/1.643, allocations: 19.86 kB / 0.9027 GB, free: 23.52 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001923/1.645, allocations: 1.711 MB / 0.9044 GB, free: 21.8 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06198/1.707, allocations: 34.49 MB / 0.938 GB, free: 3.621 MB / 0.6079 GB Notification: Performance of sort global known variables: time 6.01e-07/1.707, allocations: 0 / 0.938 GB, free: 3.621 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.006667/1.714, allocations: 1.25 MB / 0.9393 GB, free: 2.371 MB / 0.6079 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.01409/1.728, allocations: 9.169 MB / 0.9482 GB, free: 9.117 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.001989/1.73, allocations: 1.234 MB / 0.9494 GB, free: 7.871 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.73, allocations: 96 / 0.9494 GB, free: 7.871 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.731, allocations: 0.722 MB / 0.9501 GB, free: 7.137 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02231/1.754, allocations: 3.383 MB / 0.9534 GB, free: 3.75 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.196/4.95, allocations: 1.205 GB / 2.159 GB, free: 326.1 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02788/4.978, allocations: 17.33 MB / 2.175 GB, free: 308.7 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.02848/5.006, allocations: 9.438 MB / 2.185 GB, free: 299.8 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01977/5.026, allocations: 19.5 MB / 2.204 GB, free: 280.3 MB / 0.8267 GB Notification: Performance of SimCode: time 1.473e-06/5.026, allocations: 0 / 2.204 GB, free: 280.3 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.718/6.744, allocations: 0.6055 GB / 2.809 GB, free: 167.5 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate platform static: time 45.65/52.39, allocations: 0 / 2.809 GB, free: 167.5 MB / 0.8267 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.csv","/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