Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.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.CombiTimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_250",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.001488/0.001488, allocations: 105.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.001737/0.001737, 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.516/1.516, 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 1.144/1.144, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 63.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5692/0.5708, allocations: 80.69 MB / 0.5698 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.003133/0.574, allocations: 1.57 MB / 0.5714 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.5756, allocations: 0.8864 MB / 0.5722 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.5758, allocations: 0 / 0.5722 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.5765, allocations: 487 kB / 0.5727 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.5773, allocations: 320.1 kB / 0.573 GB, free: 41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.5779, allocations: 105.4 kB / 0.5731 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009839/0.5788, allocations: 0.6326 MB / 0.5737 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.579, allocations: 9.578 kB / 0.5737 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006861/0.5796, allocations: 317.9 kB / 0.574 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009299/0.5806, allocations: 0.5412 MB / 0.5746 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.5807, allocations: 34.44 kB / 0.5746 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.581, allocations: 68.03 kB / 0.5747 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.5827, allocations: 1.261 MB / 0.5759 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008878/0.5836, allocations: 0.7266 MB / 0.5766 GB, free: 38.98 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.5853, allocations: 1.601 MB / 0.5782 GB, free: 37.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5854, allocations: 4 kB / 0.5782 GB, free: 37.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5854, allocations: 4.875 kB / 0.5782 GB, free: 37.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.869e-05/0.5854, allocations: 0 / 0.5782 GB, free: 37.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.003933/0.5894, allocations: 2.772 MB / 0.5809 GB, free: 35.8 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.5894, allocations: 17.97 kB / 0.5809 GB, free: 35.79 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.5895, allocations: 39.94 kB / 0.5809 GB, free: 35.74 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/0.59, allocations: 289.8 kB / 0.5812 GB, free: 35.58 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005615/0.5956, allocations: 3.34 MB / 0.5845 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5956, allocations: 5.75 kB / 0.5845 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.5957, allocations: 6 kB / 0.5845 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.5958, allocations: 47.08 kB / 0.5845 GB, free: 33.49 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5959, allocations: 0 / 0.5845 GB, free: 33.49 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.5959, allocations: 1.406 kB / 0.5845 GB, free: 33.49 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.5959, allocations: 0 / 0.5845 GB, free: 33.49 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.596, allocations: 19.86 kB / 0.5846 GB, free: 33.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.5974, allocations: 1.006 MB / 0.5855 GB, free: 32.81 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.5976, allocations: 63.11 kB / 0.5856 GB, free: 32.76 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.5977, allocations: 16.83 kB / 0.5856 GB, free: 32.75 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.5977, allocations: 4.875 kB / 0.5856 GB, free: 32.74 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.598, allocations: 64.8 kB / 0.5857 GB, free: 32.68 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.598, allocations: 0 / 0.5857 GB, free: 32.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0008302/0.5988, allocations: 396.2 kB / 0.5861 GB, free: 32.45 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.5989, allocations: 51.41 kB / 0.5861 GB, free: 32.39 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/0.6023, allocations: 3.286 MB / 0.5893 GB, free: 29.48 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.6024, allocations: 29.69 kB / 0.5894 GB, free: 29.45 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008094/0.6032, allocations: 1.315 MB / 0.5906 GB, free: 28.13 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.6032, allocations: 19.73 kB / 0.5907 GB, free: 28.11 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.6033, allocations: 21.72 kB / 0.5907 GB, free: 28.08 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.6033, allocations: 310 kB / 0.591 GB, free: 27.77 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.6034, allocations: 16 kB / 0.591 GB, free: 27.76 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.6035, allocations: 29.95 kB / 0.591 GB, free: 27.72 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.6036, allocations: 53.64 kB / 0.5911 GB, free: 27.66 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6036, allocations: 7.875 kB / 0.5911 GB, free: 27.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004432/0.604, allocations: 365.8 kB / 0.5914 GB, free: 27.29 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6041, allocations: 8 kB / 0.5914 GB, free: 27.28 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.6041, allocations: 4.031 kB / 0.5914 GB, free: 27.28 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.6041, allocations: 0 / 0.5914 GB, free: 27.28 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.6042, allocations: 8 kB / 0.5914 GB, free: 27.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.6042, allocations: 4 kB / 0.5914 GB, free: 27.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.6045, allocations: 11.98 kB / 0.5915 GB, free: 27.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.6045, allocations: 4 kB / 0.5915 GB, free: 27.25 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.00067/0.6052, allocations: 0.697 MB / 0.5921 GB, free: 26.54 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.6054, allocations: 308.1 kB / 0.5924 GB, free: 26.24 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.6057, allocations: 337.8 kB / 0.5928 GB, free: 25.91 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6057, allocations: 4 kB / 0.5928 GB, free: 25.91 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6057, allocations: 0 / 0.5928 GB, free: 25.91 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6057, allocations: 0 / 0.5928 GB, free: 25.91 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/0.6067, allocations: 1.094 MB / 0.5938 GB, free: 24.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.6067, allocations: 0 / 0.5938 GB, free: 24.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.6067, allocations: 4 kB / 0.5938 GB, free: 24.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6067, allocations: 0 / 0.5938 GB, free: 24.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.6067, allocations: 7.938 kB / 0.5938 GB, free: 24.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6067, allocations: 0 / 0.5938 GB, free: 24.76 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6068, allocations: 7.922 kB / 0.5938 GB, free: 24.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.6071, allocations: 423.6 kB / 0.5943 GB, free: 24.32 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.6074, allocations: 309.2 kB / 0.5945 GB, free: 23.99 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6075, allocations: 12 kB / 0.5946 GB, free: 23.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.6077, allocations: 8 kB / 0.5946 GB, free: 23.97 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.6078, allocations: 7.984 kB / 0.5946 GB, free: 23.96 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.6078, allocations: 0 / 0.5946 GB, free: 23.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00208/0.6099, allocations: 2.267 MB / 0.5968 GB, free: 21.72 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6099, allocations: 0 / 0.5968 GB, free: 21.72 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004032/0.6103, allocations: 96 kB / 0.5969 GB, free: 21.62 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001484/0.6118, allocations: 1.28 MB / 0.5981 GB, free: 20.47 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.612, allocations: 47.92 kB / 0.5982 GB, free: 20.43 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.612, allocations: 4.062 kB / 0.5982 GB, free: 20.42 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.598e-05/0.612, allocations: 19.98 kB / 0.5982 GB, free: 20.4 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.6129, allocations: 254.5 kB / 0.5984 GB, free: 20.15 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.6323, allocations: 20.34 MB / 0.6183 GB, free: 14.34 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.6337, allocations: 1.703 MB / 0.62 GB, free: 12.6 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001889/0.6356, allocations: 0.7292 MB / 0.6207 GB, free: 11.86 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/0.637, allocations: 1.151 MB / 0.6218 GB, free: 10.71 MB / 478.3 MB Notification: Performance of SimCode: time 9.82e-07/0.637, allocations: 0 / 0.6218 GB, free: 10.71 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07532/0.7123, allocations: 38.04 MB / 0.659 GB, free: 4.801 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.775/10.49, allocations: 7.25 kB / 0.659 GB, free: 4.797 MB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_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_CombiTimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches