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.00141/0.00141, allocations: 105.9 kB / 17.06 MB, free: 6.004 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.001447/0.001448, allocations: 191 kB / 18 MB, free: 5.09 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.269/1.269, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8104/0.8104, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.09 kB / 0.5704 GB, free: 40.11 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1237, allocations: 80.69 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50): time 0.00133/0.1251, allocations: 405.1 kB / 0.6496 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001645/0.1252, allocations: 23.89 kB / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.1253, allocations: 0 / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.101e-05/0.1254, allocations: 3.938 kB / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1255, allocations: 11.98 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.1255, allocations: 3.938 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.432e-05/0.1256, allocations: 0 / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.1256, allocations: 4 kB / 0.6497 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.579e-05/0.1257, allocations: 0 / 0.6497 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.1278, allocations: 1.702 MB / 0.6513 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.1279, allocations: 0 / 0.6513 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.128, allocations: 3.938 kB / 0.6513 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006339/0.1287, allocations: 1.292 MB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0008051/0.1295, allocations: 1.448 MB / 0.654 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.1313, allocations: 2.859 MB / 0.6568 GB, free: 5.801 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1313, allocations: 0 / 0.6568 GB, free: 5.801 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1313, allocations: 4 kB / 0.6568 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.419e-05/0.1314, allocations: 0 / 0.6568 GB, free: 5.797 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.005085/0.1365, allocations: 5.961 MB / 0.6626 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1365, allocations: 11.89 kB / 0.6626 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.1366, allocations: 106 kB / 0.6627 GB, free: 15.61 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/0.1373, allocations: 0.7999 MB / 0.6635 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.1392, allocations: 2.476 MB / 0.6659 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.1392, allocations: 154.9 kB / 0.6661 GB, free: 12.12 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.1393, allocations: 150.9 kB / 0.6662 GB, free: 11.97 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.397e-05/0.1394, allocations: 105.3 kB / 0.6663 GB, free: 11.86 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.1394, allocations: 83.22 kB / 0.6664 GB, free: 11.78 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.1394, allocations: 150.6 kB / 0.6665 GB, free: 11.63 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.1395, allocations: 150.6 kB / 0.6667 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/0.1395, allocations: 154.6 kB / 0.6668 GB, free: 11.33 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.1418, allocations: 2.616 MB / 0.6694 GB, free: 8.672 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.639e-05/0.1419, allocations: 165.1 kB / 0.6695 GB, free: 8.5 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.142, allocations: 92.08 kB / 0.6696 GB, free: 8.406 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.142, allocations: 79.28 kB / 0.6697 GB, free: 8.328 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.1421, allocations: 113.8 kB / 0.6698 GB, free: 8.207 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.1421, allocations: 0 / 0.6698 GB, free: 8.207 MB / 0.5139 GB Notification: Performance of matching and sorting (n=0): time 0.0006038/0.1427, allocations: 0.7549 MB / 0.6705 GB, free: 7.441 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1427, allocations: 126.7 kB / 0.6707 GB, free: 7.305 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008892/0.1516, allocations: 8.156 MB / 0.6786 GB, free: 15.21 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1517, allocations: 25.7 kB / 0.6787 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002525/0.1542, allocations: 3.115 MB / 0.6817 GB, free: 12.06 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/0.1542, allocations: 0 / 0.6817 GB, free: 12.06 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.1543, allocations: 17.72 kB / 0.6817 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.1544, allocations: 310 kB / 0.682 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.1544, allocations: 3.938 kB / 0.682 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.1544, allocations: 0 / 0.682 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.1544, allocations: 75.28 kB / 0.6821 GB, free: 11.65 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-05/0.1545, allocations: 75.28 kB / 0.6822 GB, free: 11.58 MB / 0.5295 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0006832/0.1551, allocations: 0.7584 MB / 0.6829 GB, free: 10.81 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.1552, allocations: 83.22 kB / 0.683 GB, free: 10.73 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.1552, allocations: 89.55 kB / 0.6831 GB, free: 10.64 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.294e-05/0.1553, allocations: 150.6 kB / 0.6832 GB, free: 10.49 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-05/0.1553, allocations: 75.28 kB / 0.6833 GB, free: 10.42 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-05/0.1553, allocations: 158.5 kB / 0.6834 GB, free: 10.26 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.1558, allocations: 79.28 kB / 0.6835 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.1559, allocations: 83.22 kB / 0.6836 GB, free: 10.1 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.001604/0.1575, allocations: 1.821 MB / 0.6854 GB, free: 8.27 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/0.158, allocations: 0.8279 MB / 0.6862 GB, free: 7.43 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007006/0.1587, allocations: 0.979 MB / 0.6871 GB, free: 6.438 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.906e-05/0.1588, allocations: 184.2 kB / 0.6873 GB, free: 6.25 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.48e-05/0.1588, allocations: 180.3 kB / 0.6875 GB, free: 6.066 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.033e-05/0.1589, allocations: 184.2 kB / 0.6877 GB, free: 5.879 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.1615, allocations: 2.802 MB / 0.6904 GB, free: 3.023 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-05/0.1615, allocations: 101 kB / 0.6905 GB, free: 2.918 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.1615, allocations: 112.8 kB / 0.6906 GB, free: 2.801 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.422e-05/0.1616, allocations: 188.2 kB / 0.6908 GB, free: 2.609 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.1617, allocations: 184.2 kB / 0.6909 GB, free: 2.422 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-05/0.1617, allocations: 176.3 kB / 0.6911 GB, free: 2.242 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.107e-05/0.1618, allocations: 176.3 kB / 0.6913 GB, free: 2.062 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.1624, allocations: 1.071 MB / 0.6923 GB, free: 0.9648 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/0.1632, allocations: 0.7587 MB / 0.6931 GB, free: 180 kB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.1635, allocations: 184.3 kB / 0.6932 GB, free: 15.99 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.1639, allocations: 105 kB / 0.6933 GB, free: 15.88 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1639, allocations: 184.2 kB / 0.6935 GB, free: 15.69 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.164, allocations: 105 kB / 0.6936 GB, free: 15.58 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.006644/0.1706, allocations: 5.611 MB / 0.6991 GB, free: 10.02 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.01e-07/0.1706, allocations: 0 / 0.6991 GB, free: 10.02 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0006062/0.1713, allocations: 160 kB / 0.6993 GB, free: 9.863 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.0008803/0.1721, allocations: 1.601 MB / 0.7008 GB, free: 8.227 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 5.755e-05/0.1722, allocations: 8 kB / 0.7008 GB, free: 8.219 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1722, allocations: 4 kB / 0.7008 GB, free: 8.215 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1722, allocations: 0 / 0.7008 GB, free: 8.215 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.1734, allocations: 0.6279 MB / 0.7014 GB, free: 7.582 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04403/0.2174, allocations: 34.99 MB / 0.7356 GB, free: 4.496 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/0.2202, allocations: 3.142 MB / 0.7387 GB, free: 1.332 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.2203, allocations: 4 kB / 0.7387 GB, free: 1.328 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/0.2219, allocations: 2.139 MB / 0.7408 GB, free: 15.18 MB / 0.592 GB Notification: Performance of SimCode: time 6.31e-07/0.2219, allocations: 0 / 0.7408 GB, free: 15.18 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5703/0.7922, allocations: 61.09 MB / 0.8004 GB, free: 99.33 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 61.46/62.25, allocations: 5.703 kB / 0.8004 GB, free: 99.33 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