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.001479/0.001479, allocations: 106.3 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.001542/0.001542, 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.359/1.359, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.189/1.189, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 59.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7444/0.7458, 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_50_M_50): time 0.002697/0.7486, allocations: 407.5 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002625/0.7489, allocations: 24.2 kB / 0.5703 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.7489, allocations: 1.438 kB / 0.5703 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.7491, allocations: 3.938 kB / 0.5703 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.7493, allocations: 6.672 kB / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 4.91e-06/0.7493, allocations: 0 / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 5.32e-05/0.7494, allocations: 6.281 kB / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.495e-05/0.7495, allocations: 2.438 kB / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.7495, allocations: 0 / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.7532, allocations: 1.7 MB / 0.5719 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.7534, allocations: 0 / 0.5719 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.7535, allocations: 3.938 kB / 0.5719 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.7547, allocations: 1.281 MB / 0.5732 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.7558, allocations: 1.455 MB / 0.5746 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003406/0.7592, allocations: 2.749 MB / 0.5773 GB, free: 39.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.7593, allocations: 0.9375 kB / 0.5773 GB, free: 39.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.086e-06/0.7593, allocations: 4 kB / 0.5773 GB, free: 39.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001567/0.7594, allocations: 0 / 0.5773 GB, free: 39.02 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.01164/0.7711, allocations: 5.688 MB / 0.5829 GB, free: 34.68 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001004/0.7712, allocations: 18 kB / 0.5829 GB, free: 34.67 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.7713, allocations: 106 kB / 0.583 GB, free: 34.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.7733, allocations: 0.7625 MB / 0.5837 GB, free: 34.09 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.7764, allocations: 2.384 MB / 0.586 GB, free: 32.25 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.7765, allocations: 160.4 kB / 0.5862 GB, free: 32.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.7765, allocations: 154.9 kB / 0.5863 GB, free: 31.94 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.192e-05/0.7766, allocations: 101.5 kB / 0.5864 GB, free: 31.84 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.7767, allocations: 80.56 kB / 0.5865 GB, free: 31.76 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.7767, allocations: 158.5 kB / 0.5867 GB, free: 31.6 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.7767, allocations: 150.6 kB / 0.5868 GB, free: 31.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.562e-05/0.7768, allocations: 155.8 kB / 0.587 GB, free: 31.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006485/0.7833, allocations: 2.619 MB / 0.5895 GB, free: 29.27 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.233e-05/0.7834, allocations: 165.1 kB / 0.5897 GB, free: 29.1 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.7835, allocations: 88.06 kB / 0.5898 GB, free: 29.01 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.7835, allocations: 79.28 kB / 0.5898 GB, free: 28.93 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.7835, allocations: 105.8 kB / 0.5899 GB, free: 28.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=0): time 2.936e-06/0.7836, allocations: 0 / 0.5899 GB, free: 28.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=0): time 0.001354/0.7849, allocations: 0.7229 MB / 0.5906 GB, free: 28.08 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.785, allocations: 138.6 kB / 0.5908 GB, free: 27.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02489/0.8099, allocations: 8.152 MB / 0.5987 GB, free: 19.84 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.81, allocations: 25.7 kB / 0.5988 GB, free: 19.81 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005834/0.8158, allocations: 3.118 MB / 0.6018 GB, free: 16.69 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-06/0.8159, allocations: 0 / 0.6018 GB, free: 16.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.8159, allocations: 9.719 kB / 0.6018 GB, free: 16.67 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.816, allocations: 306 kB / 0.6021 GB, free: 16.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.816, allocations: 0 / 0.6021 GB, free: 16.37 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.816, allocations: 7.938 kB / 0.6021 GB, free: 16.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.078e-05/0.8161, allocations: 75.28 kB / 0.6022 GB, free: 16.29 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.8161, allocations: 75.28 kB / 0.6023 GB, free: 16.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.001753/0.8178, allocations: 0.719 MB / 0.603 GB, free: 15.48 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.8179, allocations: 89.88 kB / 0.6031 GB, free: 15.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.8179, allocations: 79.28 kB / 0.6031 GB, free: 15.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.282e-05/0.818, allocations: 162.5 kB / 0.6033 GB, free: 15.15 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.169e-05/0.818, allocations: 75.28 kB / 0.6034 GB, free: 15.08 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.818, allocations: 161 kB / 0.6035 GB, free: 14.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.8194, allocations: 79.28 kB / 0.6036 GB, free: 14.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.8194, allocations: 75.28 kB / 0.6037 GB, free: 14.77 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 0.002882/0.8223, allocations: 1.828 MB / 0.6054 GB, free: 12.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/0.8239, allocations: 0.7886 MB / 0.6062 GB, free: 12.12 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.8258, allocations: 0.9751 MB / 0.6072 GB, free: 11.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.832e-05/0.8258, allocations: 192.2 kB / 0.6073 GB, free: 10.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-05/0.8259, allocations: 176.3 kB / 0.6075 GB, free: 10.77 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/0.8259, allocations: 180.2 kB / 0.6077 GB, free: 10.58 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006334/0.8323, allocations: 2.802 MB / 0.6104 GB, free: 7.727 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/0.8323, allocations: 101 kB / 0.6105 GB, free: 7.621 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.8323, allocations: 112.9 kB / 0.6106 GB, free: 7.504 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.243e-05/0.8324, allocations: 188.2 kB / 0.6108 GB, free: 7.312 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.8324, allocations: 180.2 kB / 0.611 GB, free: 7.129 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.82e-05/0.8325, allocations: 176.3 kB / 0.6111 GB, free: 6.949 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.826e-05/0.8325, allocations: 184.3 kB / 0.6113 GB, free: 6.762 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.8344, allocations: 1.032 MB / 0.6123 GB, free: 5.699 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/0.8364, allocations: 0.7116 MB / 0.613 GB, free: 4.953 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/0.8376, allocations: 184.2 kB / 0.6132 GB, free: 4.766 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.8388, allocations: 105.4 kB / 0.6133 GB, free: 4.656 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.8389, allocations: 188.1 kB / 0.6135 GB, free: 4.465 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.8389, allocations: 101 kB / 0.6136 GB, free: 4.359 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.01337/0.8523, allocations: 5.615 MB / 0.6191 GB, free: 14.79 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.373e-06/0.8523, allocations: 0 / 0.6191 GB, free: 14.79 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.001815/0.8541, allocations: 156 kB / 0.6192 GB, free: 14.64 MB / 478.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.002906/0.8571, allocations: 1.577 MB / 0.6207 GB, free: 13.02 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 8.01e-05/0.8572, allocations: 4 kB / 0.6208 GB, free: 13.02 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8572, allocations: 0 / 0.6208 GB, free: 13.02 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.031e-06/0.8572, allocations: 3.984 kB / 0.6208 GB, free: 13.02 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00482/0.862, allocations: 0.6279 MB / 0.6214 GB, free: 12.38 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/0.9686, allocations: 57.83 MB / 0.6778 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005351/0.974, allocations: 3.138 MB / 0.6809 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 1.538e-05/0.9741, allocations: 0 / 0.6809 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00263/0.9767, allocations: 2.143 MB / 0.683 GB, free: 8.93 MB / 0.5295 GB Notification: Performance of SimCode: time 1.272e-06/0.9767, allocations: 0 / 0.683 GB, free: 8.93 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/1.105, allocations: 60.08 MB / 0.7417 GB, free: 13.26 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.55, allocations: 8.25 kB / 0.7417 GB, free: 13.25 MB / 0.592 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