Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.Verification.Table.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.Verification.Table,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_ParameterArrays_Verification_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.ParameterArrays.Verification.Table,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_ParameterArrays_Verification_Table",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.001315/0.001315, allocations: 111.7 kB / 16.92 MB, free: 5.895 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.001388/0.001388, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.473/1.473, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.098/1.098, allocations: 119.3 MB / 411 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.89 kB / 0.491 GB, free: 13.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6682, allocations: 80.69 MB / 0.5698 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.ParameterArrays.Verification.Table): time 0.001663/0.6699, allocations: 400.1 kB / 0.5702 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001882/0.6701, allocations: 20.03 kB / 0.5702 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.6702, allocations: 5.375 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.873e-05/0.6703, allocations: 3.984 kB / 0.5703 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.6705, allocations: 6.688 kB / 0.5703 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 3.878e-06/0.6705, allocations: 0 / 0.5703 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.6705, allocations: 2.75 kB / 0.5703 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.6706, allocations: 1.375 kB / 0.5703 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.6706, allocations: 5.359 kB / 0.5703 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.6708, allocations: 55.48 kB / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.6708, allocations: 0 / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-06/0.6708, allocations: 3.938 kB / 0.5703 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.6709, allocations: 35.08 kB / 0.5704 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.6709, allocations: 33.12 kB / 0.5704 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.351e-05/0.671, allocations: 56.88 kB / 0.5704 GB, free: 43 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.671, allocations: 1.469 kB / 0.5704 GB, free: 43 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.064e-06/0.671, allocations: 0 / 0.5704 GB, free: 43 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.671, allocations: 0 / 0.5704 GB, free: 43 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.0003304/0.6714, allocations: 422.1 kB / 0.5708 GB, free: 42.57 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6714, allocations: 16.8 kB / 0.5709 GB, free: 42.56 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.6714, allocations: 110 kB / 0.571 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.6715, allocations: 96 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.6716, allocations: 283 kB / 0.5713 GB, free: 42.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.6717, allocations: 152.1 kB / 0.5715 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.6717, allocations: 150.9 kB / 0.5716 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.74e-05/0.6718, allocations: 106.7 kB / 0.5717 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.6718, allocations: 83.22 kB / 0.5718 GB, free: 41.56 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.6718, allocations: 150.6 kB / 0.5719 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.6719, allocations: 151.8 kB / 0.5721 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.6719, allocations: 154.5 kB / 0.5722 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.6721, allocations: 492.1 kB / 0.5727 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.991e-05/0.6722, allocations: 166.3 kB / 0.5729 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.6722, allocations: 80.14 kB / 0.5729 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.6722, allocations: 76.38 kB / 0.573 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.6722, allocations: 109.8 kB / 0.5731 GB, free: 40.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6722, allocations: 1.125 kB / 0.5731 GB, free: 40.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=0): time 7.283e-05/0.6723, allocations: 52.03 kB / 0.5732 GB, free: 40.11 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.6723, allocations: 127.8 kB / 0.5733 GB, free: 39.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.6726, allocations: 259.8 kB / 0.5735 GB, free: 39.81 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.6726, allocations: 25.7 kB / 0.5736 GB, free: 39.78 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.6727, allocations: 122.4 kB / 0.5737 GB, free: 39.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.6727, allocations: 1.25 kB / 0.5737 GB, free: 39.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.6727, allocations: 14.94 kB / 0.5737 GB, free: 39.64 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.6728, allocations: 333.9 kB / 0.574 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-06/0.6728, allocations: 0 / 0.574 GB, free: 39.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-06/0.6728, allocations: 0 / 0.574 GB, free: 39.32 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.263e-05/0.6728, allocations: 76.75 kB / 0.5741 GB, free: 39.24 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.6728, allocations: 75.28 kB / 0.5742 GB, free: 39.17 MB / 462.3 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.404e-05/0.6729, allocations: 49.08 kB / 0.5742 GB, free: 39.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.6729, allocations: 84.97 kB / 0.5743 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.6729, allocations: 80.31 kB / 0.5744 GB, free: 38.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/0.6729, allocations: 163.5 kB / 0.5745 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.271e-05/0.673, allocations: 82.94 kB / 0.5746 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.673, allocations: 158.5 kB / 0.5747 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.6731, allocations: 80.25 kB / 0.5748 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.6731, allocations: 76.34 kB / 0.5749 GB, free: 38.42 MB / 462.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: 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 9.788e-05/0.6732, allocations: 294.4 kB / 0.5752 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.6732, allocations: 133 kB / 0.5753 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.6733, allocations: 126.1 kB / 0.5754 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.6733, allocations: 176.3 kB / 0.5756 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-05/0.6733, allocations: 181.5 kB / 0.5758 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.6734, allocations: 181.7 kB / 0.5759 GB, free: 37.34 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.6735, allocations: 455.6 kB / 0.5764 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.6735, allocations: 106.2 kB / 0.5765 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.6736, allocations: 102.2 kB / 0.5766 GB, free: 36.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/0.6736, allocations: 184.1 kB / 0.5767 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.6736, allocations: 177.5 kB / 0.5769 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.549e-05/0.6736, allocations: 185.5 kB / 0.5771 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.347e-05/0.6737, allocations: 181.4 kB / 0.5773 GB, free: 35.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.321e-05/0.6738, allocations: 321.1 kB / 0.5776 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.6738, allocations: 194.1 kB / 0.5778 GB, free: 35.37 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.6738, allocations: 194.1 kB / 0.5779 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.6739, allocations: 105.4 kB / 0.578 GB, free: 35.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.6739, allocations: 182.4 kB / 0.5782 GB, free: 34.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.674, allocations: 101 kB / 0.5783 GB, free: 34.78 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000137/0.6741, allocations: 191 kB / 0.5785 GB, free: 34.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6741, allocations: 0 / 0.5785 GB, free: 34.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002575/0.6744, allocations: 3.781 kB / 0.5785 GB, free: 34.66 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: 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.0002215/0.6746, allocations: 0.8337 MB / 0.5793 GB, free: 33.83 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 4.221e-05/0.6747, allocations: 0 / 0.5793 GB, free: 33.83 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6747, allocations: 0 / 0.5793 GB, free: 33.83 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.6747, allocations: 1.406 kB / 0.5793 GB, free: 33.83 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.675, allocations: 461.5 kB / 0.5798 GB, free: 33.38 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.6763, allocations: 2.143 MB / 0.5818 GB, free: 31.53 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.6765, allocations: 0.7186 MB / 0.5826 GB, free: 30.81 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.476e-06/0.6765, allocations: 1.5 kB / 0.5826 GB, free: 30.81 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.6765, allocations: 43.36 kB / 0.5826 GB, free: 30.77 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.6765, allocations: 3.938 kB / 0.5826 GB, free: 30.77 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.6943, allocations: 2.068 MB / 0.5846 GB, free: 29.75 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.764, allocations: 5.031 kB / 0.5846 GB, free: 29.75 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.Verification.Table.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.Verification.Table.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.Verification.Table.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.Verification.Table.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.Verification.Table_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_ParameterArrays_Verification_Table.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.Verification.Table.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.Verification.Table_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.ParameterArrays.Verification.Table_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.Verification.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches