Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50.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_50_M_50,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_ParameterArrays_ScaledExperiments_Table_N_50_M_50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_ParameterArrays_ScaledExperiments_Table_N_50_M_50",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.001319/0.001319, allocations: 112.8 kB / 17.06 MB, free: 5.973 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.001189/0.001189, allocations: 200 kB / 18.01 MB, free: 5.047 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9231/0.9231, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 62.06 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1304, allocations: 80.7 MB / 0.6492 GB, free: 13.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50): time 0.00135/0.1318, allocations: 404.5 kB / 0.6496 GB, free: 13.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001861/0.132, allocations: 23.91 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.132, allocations: 0 / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.765e-05/0.1321, allocations: 0 / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1323, allocations: 11.92 kB / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.1323, allocations: 0 / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.057e-05/0.1323, allocations: 7.938 kB / 0.6496 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.1324, allocations: 7.922 kB / 0.6497 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.842e-05/0.1324, allocations: 11.98 kB / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.1348, allocations: 1.698 MB / 0.6513 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.1349, allocations: 0 / 0.6513 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1351, allocations: 0 / 0.6513 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0007886/0.1359, allocations: 1.28 MB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0009473/0.1368, allocations: 1.456 MB / 0.654 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.1389, allocations: 2.859 MB / 0.6568 GB, free: 5.785 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1389, allocations: 0 / 0.6568 GB, free: 5.785 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1389, allocations: 0 / 0.6568 GB, free: 5.785 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.935e-05/0.139, allocations: 4 kB / 0.6568 GB, free: 5.781 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.005423/0.1444, allocations: 5.957 MB / 0.6626 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1445, allocations: 15.89 kB / 0.6626 GB, free: 15.71 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.1445, allocations: 106 kB / 0.6627 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/0.1452, allocations: 0.7999 MB / 0.6635 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.1472, allocations: 2.472 MB / 0.6659 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/0.1473, allocations: 154.9 kB / 0.6661 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.1473, allocations: 150.9 kB / 0.6662 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/0.1474, allocations: 105.3 kB / 0.6663 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.1475, allocations: 75.28 kB / 0.6664 GB, free: 11.78 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.17e-05/0.1475, allocations: 158.6 kB / 0.6665 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.144e-05/0.1476, allocations: 154.6 kB / 0.6667 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.867e-05/0.1477, allocations: 150.6 kB / 0.6668 GB, free: 11.32 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.1502, allocations: 2.619 MB / 0.6694 GB, free: 8.656 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/0.1503, allocations: 169.1 kB / 0.6695 GB, free: 8.48 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.1503, allocations: 80.14 kB / 0.6696 GB, free: 8.398 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.1504, allocations: 75.28 kB / 0.6697 GB, free: 8.324 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.1504, allocations: 117.8 kB / 0.6698 GB, free: 8.199 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=0): time 1.724e-06/0.1504, allocations: 0 / 0.6698 GB, free: 8.199 MB / 0.5139 GB Notification: Performance of matching and sorting (n=0): time 0.0006376/0.1511, allocations: 0.7548 MB / 0.6705 GB, free: 7.434 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.1511, allocations: 130.7 kB / 0.6707 GB, free: 7.293 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009474/0.1606, allocations: 8.156 MB / 0.6786 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1607, allocations: 25.7 kB / 0.6787 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002998/0.1637, allocations: 3.115 MB / 0.6817 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.1637, allocations: 0 / 0.6817 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.1637, allocations: 9.719 kB / 0.6817 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1639, allocations: 314 kB / 0.682 GB, free: 11.72 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.1639, allocations: 4 kB / 0.682 GB, free: 11.72 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.1639, allocations: 4 kB / 0.682 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.1639, allocations: 75.28 kB / 0.6821 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/0.164, allocations: 75.28 kB / 0.6822 GB, free: 11.57 MB / 0.5295 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0007005/0.1647, allocations: 0.7622 MB / 0.6829 GB, free: 10.79 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.1647, allocations: 83.22 kB / 0.683 GB, free: 10.71 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.1648, allocations: 81.62 kB / 0.6831 GB, free: 10.63 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.277e-05/0.1648, allocations: 154.6 kB / 0.6832 GB, free: 10.48 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.153e-05/0.1649, allocations: 87.16 kB / 0.6833 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.666e-05/0.1649, allocations: 150.6 kB / 0.6834 GB, free: 10.25 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.1653, allocations: 79.22 kB / 0.6835 GB, free: 10.17 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.1654, allocations: 75.28 kB / 0.6836 GB, free: 10.09 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.00181/0.1672, allocations: 1.821 MB / 0.6854 GB, free: 8.262 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006037/0.1678, allocations: 0.8358 MB / 0.6862 GB, free: 7.414 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/0.1686, allocations: 0.9868 MB / 0.6871 GB, free: 6.414 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.911e-05/0.1687, allocations: 176.3 kB / 0.6873 GB, free: 6.234 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.055e-05/0.1688, allocations: 180.2 kB / 0.6875 GB, free: 6.051 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.634e-05/0.1688, allocations: 176.3 kB / 0.6877 GB, free: 5.871 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.1717, allocations: 2.806 MB / 0.6904 GB, free: 3.012 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.211e-05/0.1717, allocations: 112.9 kB / 0.6905 GB, free: 2.895 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.1718, allocations: 101 kB / 0.6906 GB, free: 2.789 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.128e-05/0.1718, allocations: 188.1 kB / 0.6908 GB, free: 2.598 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/0.1719, allocations: 180.3 kB / 0.6909 GB, free: 2.414 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.062e-05/0.172, allocations: 180.3 kB / 0.6911 GB, free: 2.23 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.794e-05/0.1721, allocations: 184.2 kB / 0.6913 GB, free: 2.043 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.1728, allocations: 1.067 MB / 0.6923 GB, free: 0.9492 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006755/0.1735, allocations: 0.7509 MB / 0.6931 GB, free: 172 kB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.1737, allocations: 192.2 kB / 0.6933 GB, free: 15.97 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.1741, allocations: 101 kB / 0.6933 GB, free: 15.87 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.1742, allocations: 180.3 kB / 0.6935 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.1742, allocations: 104.9 kB / 0.6936 GB, free: 15.57 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.00689/0.1811, allocations: 5.611 MB / 0.6991 GB, free: 10.01 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1811, allocations: 0 / 0.6991 GB, free: 10.01 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.000499/0.1816, allocations: 156 kB / 0.6992 GB, free: 9.859 MB / 0.5452 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.001011/0.1827, allocations: 1.608 MB / 0.7008 GB, free: 8.215 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 4.81e-05/0.1827, allocations: 3.938 kB / 0.7008 GB, free: 8.211 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1827, allocations: 4 kB / 0.7008 GB, free: 8.207 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1827, allocations: 0 / 0.7008 GB, free: 8.207 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.1839, allocations: 0.6279 MB / 0.7014 GB, free: 7.574 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04424/0.2281, allocations: 34.99 MB / 0.7356 GB, free: 4.484 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002896/0.2311, allocations: 3.134 MB / 0.7387 GB, free: 1.328 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.2311, allocations: 7.938 kB / 0.7387 GB, free: 1.32 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/0.233, allocations: 2.143 MB / 0.7408 GB, free: 15.17 MB / 0.592 GB Notification: Performance of SimCode: time 2.265e-06/0.233, allocations: 0 / 0.7408 GB, free: 15.17 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5882/0.8212, allocations: 61.1 MB / 0.8004 GB, free: 99.33 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 45.58/46.4, allocations: 8.766 kB / 0.8004 GB, free: 99.32 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50_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_50_M_50.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches