Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100.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.ParameterArrays.ScaledExperiments.Table_N_100_M_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_ParameterArrays_ScaledExperiments_Table_N_100_M_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_ParameterArrays_ScaledExperiments_Table_N_100_M_100",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.001396/0.001396, allocations: 108.1 kB / 16.92 MB, free: 5.762 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.001533/0.001533, allocations: 187.3 kB / 17.85 MB, free: 5.176 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.498/1.498, allocations: 222.9 MB / 241.6 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.18/1.18, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 63.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6857, allocations: 80.69 MB / 0.5698 GB, free: 43.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100): time 0.001644/0.6874, allocations: 411.6 kB / 0.5702 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001825/0.6876, allocations: 24.94 kB / 0.5703 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.6877, allocations: 0 / 0.5703 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.612e-05/0.6877, allocations: 3.984 kB / 0.5703 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.6879, allocations: 7.031 kB / 0.5703 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.688, allocations: 1.469 kB / 0.5703 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.268e-05/0.688, allocations: 9.062 kB / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.6881, allocations: 1.469 kB / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.6881, allocations: 5.234 kB / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009408/0.6975, allocations: 6.749 MB / 0.5769 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004972/0.698, allocations: 7.922 kB / 0.5769 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.6985, allocations: 0 / 0.5769 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002877/0.7014, allocations: 5.076 MB / 0.5818 GB, free: 37.37 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002718/0.7041, allocations: 5.803 MB / 0.5875 GB, free: 31.5 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.006458/0.7106, allocations: 10.99 MB / 0.5982 GB, free: 20.45 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.7106, allocations: 4 kB / 0.5982 GB, free: 20.45 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.967e-06/0.7106, allocations: 4 kB / 0.5982 GB, free: 20.45 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003773/0.711, allocations: 0 / 0.5982 GB, free: 20.45 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01893/0.7299, allocations: 21.84 MB / 0.6196 GB, free: 14.35 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.73, allocations: 11.89 kB / 0.6196 GB, free: 14.34 MB / 478.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.033e-05/0.7301, allocations: 110 kB / 0.6197 GB, free: 14.22 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/0.7339, allocations: 2.823 MB / 0.6225 GB, free: 11.36 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008197/0.7422, allocations: 9.033 MB / 0.6313 GB, free: 2.184 MB / 478.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/0.7423, allocations: 154.9 kB / 0.6314 GB, free: 2.031 MB / 478.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.7423, allocations: 158.9 kB / 0.6316 GB, free: 1.875 MB / 478.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.239e-05/0.7424, allocations: 105.5 kB / 0.6317 GB, free: 1.766 MB / 478.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.7424, allocations: 79.22 kB / 0.6317 GB, free: 1.688 MB / 478.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.7425, allocations: 150.6 kB / 0.6319 GB, free: 1.539 MB / 478.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.7426, allocations: 154.6 kB / 0.632 GB, free: 1.387 MB / 478.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.7426, allocations: 150.6 kB / 0.6322 GB, free: 1.238 MB / 478.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.7557, allocations: 9.21 MB / 0.6412 GB, free: 7.965 MB / 494.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.7559, allocations: 169.1 kB / 0.6413 GB, free: 7.789 MB / 494.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.7559, allocations: 80.14 kB / 0.6414 GB, free: 7.707 MB / 494.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.756, allocations: 87.28 kB / 0.6415 GB, free: 7.621 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.756, allocations: 105.8 kB / 0.6416 GB, free: 7.508 MB / 494.3 MB Notification: Performance of pre-optimization done (n=0): time 2.334e-06/0.756, allocations: 0 / 0.6416 GB, free: 7.508 MB / 494.3 MB Notification: Performance of matching and sorting (n=0): time 0.003255/0.7593, allocations: 2.781 MB / 0.6443 GB, free: 4.684 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.7594, allocations: 126.7 kB / 0.6444 GB, free: 4.547 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05559/0.815, allocations: 32.38 MB / 0.6761 GB, free: 4.414 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.8151, allocations: 33.69 kB / 0.6761 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01873/0.8338, allocations: 13.44 MB / 0.6892 GB, free: 6.918 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.8339, allocations: 7.938 kB / 0.6892 GB, free: 6.91 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.834, allocations: 9.719 kB / 0.6892 GB, free: 6.895 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8341, allocations: 306 kB / 0.6895 GB, free: 6.59 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.8341, allocations: 0 / 0.6895 GB, free: 6.59 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.8342, allocations: 0 / 0.6895 GB, free: 6.59 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.8342, allocations: 75.28 kB / 0.6896 GB, free: 6.516 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.962e-05/0.8343, allocations: 79.28 kB / 0.6897 GB, free: 6.438 MB / 0.5295 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.004584/0.8389, allocations: 2.781 MB / 0.6924 GB, free: 3.613 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.8389, allocations: 91.2 kB / 0.6925 GB, free: 3.523 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.839, allocations: 79.22 kB / 0.6926 GB, free: 3.445 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.253e-05/0.8391, allocations: 154.6 kB / 0.6927 GB, free: 3.293 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/0.8391, allocations: 79.22 kB / 0.6928 GB, free: 3.215 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.326e-05/0.8392, allocations: 157 kB / 0.6929 GB, free: 3.062 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.8426, allocations: 79.28 kB / 0.693 GB, free: 2.984 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.8426, allocations: 79.22 kB / 0.6931 GB, free: 2.906 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.01086/0.8535, allocations: 6.515 MB / 0.6994 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004769/0.8583, allocations: 2.855 MB / 0.7022 GB, free: 9.477 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007346/0.8656, allocations: 3.607 MB / 0.7058 GB, free: 5.852 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-05/0.8658, allocations: 184.3 kB / 0.7059 GB, free: 5.664 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.37e-05/0.8659, allocations: 184.2 kB / 0.7061 GB, free: 5.477 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.688e-05/0.866, allocations: 176.3 kB / 0.7063 GB, free: 5.297 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02931/0.8953, allocations: 10.08 MB / 0.7161 GB, free: 11.15 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.145e-05/0.8954, allocations: 104.9 kB / 0.7162 GB, free: 11.04 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.8954, allocations: 105 kB / 0.7163 GB, free: 10.93 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/0.8955, allocations: 192.1 kB / 0.7165 GB, free: 10.73 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.8956, allocations: 180.3 kB / 0.7167 GB, free: 10.55 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.317e-05/0.8957, allocations: 176.3 kB / 0.7168 GB, free: 10.37 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.039e-05/0.8958, allocations: 184.2 kB / 0.717 GB, free: 10.18 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004962/0.9007, allocations: 3.231 MB / 0.7202 GB, free: 6.891 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005571/0.9063, allocations: 2.313 MB / 0.7224 GB, free: 4.516 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002685/0.909, allocations: 180.2 kB / 0.7226 GB, free: 4.332 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003353/0.9124, allocations: 113.3 kB / 0.7227 GB, free: 4.215 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.9125, allocations: 176.3 kB / 0.7229 GB, free: 4.035 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.9126, allocations: 108.9 kB / 0.723 GB, free: 3.922 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.05238/0.965, allocations: 22.39 MB / 0.7448 GB, free: 13.72 MB / 0.592 GB Notification: Performance of sort global known variables: time 7.11e-07/0.965, allocations: 0 / 0.7448 GB, free: 13.72 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002565/0.9676, allocations: 0.6094 MB / 0.7454 GB, free: 13.11 MB / 0.592 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.004114/0.9718, allocations: 3.915 MB / 0.7493 GB, free: 9.129 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 5.597e-05/0.9718, allocations: 11.94 kB / 0.7493 GB, free: 9.117 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.9718, allocations: 0 / 0.7493 GB, free: 9.117 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.9718, allocations: 3.938 kB / 0.7493 GB, free: 9.113 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004534/0.9764, allocations: 1.177 MB / 0.7504 GB, free: 7.93 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.453/2.43, allocations: 0.503 GB / 1.253 GB, free: 33.29 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01823/2.448, allocations: 10.58 MB / 1.264 GB, free: 22.67 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 1.71e-05/2.448, allocations: 0 / 1.264 GB, free: 22.67 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3165/2.765, allocations: 9.764 MB / 1.273 GB, free: 248.6 MB / 0.7017 GB Notification: Performance of SimCode: time 1.763e-06/2.765, allocations: 0.5 kB / 1.273 GB, free: 248.6 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3918/3.157, allocations: 237.9 MB / 1.506 GB, free: 35.84 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.23/28.39, allocations: 9.375 kB / 1.506 GB, free: 35.83 MB / 0.7017 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ScalableTestSuite_ScalableTestSuite_Elementary_ParameterArrays_ScaledExperiments_Table_N_100_M_100.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_100_M_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches