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.001309/0.001309, allocations: 95.33 kB / 16.3 MB, free: 5.992 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.001375/0.001375, allocations: 182.9 kB / 17.2 MB, free: 5.914 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.417/1.417, allocations: 223.2 MB / 241.1 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9242/0.9242, allocations: 120.4 MB / 412.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 8 kB / 0.4943 GB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 82.85 MB / 0.5752 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50): time 0.000712/0.1929, allocations: 130.6 kB / 0.5753 GB, free: 7.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002014/0.1931, allocations: 19.92 kB / 0.5753 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.1931, allocations: 0 / 0.5753 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1933, allocations: 0 / 0.5753 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1935, allocations: 11.98 kB / 0.5753 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.559e-06/0.1935, allocations: 0 / 0.5753 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.093e-05/0.1936, allocations: 0 / 0.5753 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.98e-05/0.1937, allocations: 11.88 kB / 0.5753 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.1937, allocations: 0 / 0.5753 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.5819/0.7756, allocations: 9.823 MB / 0.5849 GB, free: 10.78 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.7758, allocations: 4 kB / 0.5849 GB, free: 10.77 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.7759, allocations: 0 / 0.5849 GB, free: 10.77 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.7776, allocations: 1.325 MB / 0.5862 GB, free: 10.55 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.7781, allocations: 0.5611 MB / 0.5868 GB, free: 10.29 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00283/0.781, allocations: 1.794 MB / 0.5885 GB, free: 9.992 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.781, allocations: 0 / 0.5885 GB, free: 9.992 MB / 446.3 MB Notification: Performance of FrontEnd: time 3.166e-06/0.781, allocations: 0 / 0.5885 GB, free: 9.992 MB / 446.3 MB Notification: Performance of Transformations before backend: time 9.906e-05/0.7811, allocations: 0.6875 kB / 0.5885 GB, free: 9.992 MB / 446.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.008293/0.7894, allocations: 5.146 MB / 0.5935 GB, free: 6.82 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.7895, allocations: 12.64 kB / 0.5936 GB, free: 6.82 MB / 446.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.7895, allocations: 110.3 kB / 0.5937 GB, free: 6.703 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.7902, allocations: 0.7666 MB / 0.5944 GB, free: 6.234 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.7928, allocations: 2.011 MB / 0.5964 GB, free: 5.086 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.7929, allocations: 151.1 kB / 0.5965 GB, free: 4.938 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.7929, allocations: 151.2 kB / 0.5967 GB, free: 4.789 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.654e-05/0.7929, allocations: 103.3 kB / 0.5968 GB, free: 4.684 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.793, allocations: 79.28 kB / 0.5968 GB, free: 4.605 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.793, allocations: 153.4 kB / 0.597 GB, free: 4.457 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.793, allocations: 155.9 kB / 0.5971 GB, free: 4.305 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.7931, allocations: 154.5 kB / 0.5973 GB, free: 4.152 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005008/0.7981, allocations: 2.619 MB / 0.5998 GB, free: 3.074 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.5e-05/0.7982, allocations: 173.5 kB / 0.6 GB, free: 2.898 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.7982, allocations: 75.28 kB / 0.6001 GB, free: 2.824 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.7982, allocations: 108.1 kB / 0.6002 GB, free: 2.711 MB / 446.3 MB Notification: Performance of pre-optimization done (n=0): time 2.875e-06/0.7982, allocations: 0 / 0.6002 GB, free: 2.711 MB / 446.3 MB Notification: Performance of matching and sorting (n=0): time 0.0007402/0.799, allocations: 0.7163 MB / 0.6009 GB, free: 2.285 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.799, allocations: 132.7 kB / 0.601 GB, free: 2.145 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01742/0.8164, allocations: 8.197 MB / 0.609 GB, free: 188 kB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.8165, allocations: 26.86 kB / 0.609 GB, free: 156 kB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.003732/0.8203, allocations: 3.114 MB / 0.6121 GB, free: 13.53 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-06/0.8203, allocations: 0 / 0.6121 GB, free: 13.53 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.8203, allocations: 1.094 kB / 0.6121 GB, free: 13.53 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.8204, allocations: 306 kB / 0.6124 GB, free: 13.23 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.8204, allocations: 0 / 0.6124 GB, free: 13.23 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-06/0.8205, allocations: 5.188 kB / 0.6124 GB, free: 13.22 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.8205, allocations: 75.28 kB / 0.6124 GB, free: 13.15 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.751e-05/0.8205, allocations: 76.44 kB / 0.6125 GB, free: 13.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.001857/0.8224, allocations: 0.7255 MB / 0.6132 GB, free: 12.64 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.8224, allocations: 79.25 kB / 0.6133 GB, free: 12.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/0.8225, allocations: 80.09 kB / 0.6134 GB, free: 12.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.991e-05/0.8226, allocations: 150.6 kB / 0.6135 GB, free: 12.35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.313e-05/0.8226, allocations: 87.22 kB / 0.6136 GB, free: 12.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.684e-05/0.8227, allocations: 152 kB / 0.6137 GB, free: 12.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008026/0.8235, allocations: 83.16 kB / 0.6138 GB, free: 12.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.8235, allocations: 83.28 kB / 0.6139 GB, free: 11.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003047/0.8266, allocations: 1.817 MB / 0.6157 GB, free: 11.34 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007774/0.8274, allocations: 0.787 MB / 0.6164 GB, free: 10.85 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.8285, allocations: 0.9933 MB / 0.6174 GB, free: 10.38 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.558e-05/0.8286, allocations: 184.2 kB / 0.6176 GB, free: 10.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.189e-05/0.8287, allocations: 180.2 kB / 0.6178 GB, free: 10.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.214e-05/0.8287, allocations: 176.3 kB / 0.6179 GB, free: 9.836 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004134/0.8329, allocations: 2.811 MB / 0.6207 GB, free: 8.195 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.397e-05/0.833, allocations: 108.9 kB / 0.6208 GB, free: 8.082 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.833, allocations: 101 kB / 0.6209 GB, free: 7.977 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.972e-05/0.8331, allocations: 184.1 kB / 0.6211 GB, free: 7.793 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.8332, allocations: 180.2 kB / 0.6212 GB, free: 7.609 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.6e-05/0.8333, allocations: 184.2 kB / 0.6214 GB, free: 7.422 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-05/0.8333, allocations: 180.2 kB / 0.6216 GB, free: 7.238 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007721/0.8341, allocations: 1.034 MB / 0.6226 GB, free: 6.484 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008948/0.835, allocations: 0.7118 MB / 0.6233 GB, free: 5.891 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.8353, allocations: 188.2 kB / 0.6235 GB, free: 5.699 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.8357, allocations: 104.9 kB / 0.6236 GB, free: 5.594 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.8358, allocations: 180.3 kB / 0.6237 GB, free: 5.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.8359, allocations: 104.9 kB / 0.6238 GB, free: 5.301 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.009473/0.8453, allocations: 5.647 MB / 0.6293 GB, free: 2.984 MB / 462.3 MB Notification: Performance of sort global known variables: time 9.61e-07/0.8454, allocations: 0 / 0.6293 GB, free: 2.984 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.001117/0.8465, allocations: 156.8 kB / 0.6295 GB, free: 2.984 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.8477, allocations: 1.571 MB / 0.631 GB, free: 1.578 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 4.649e-05/0.8477, allocations: 3.938 kB / 0.631 GB, free: 1.574 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8478, allocations: 0 / 0.631 GB, free: 1.574 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.8478, allocations: 0 / 0.631 GB, free: 1.574 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.849, allocations: 0.6976 MB / 0.6317 GB, free: 0.8711 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07098/0.92, allocations: 54.33 MB / 0.6848 GB, free: 6.246 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004169/0.9242, allocations: 3.255 MB / 0.6879 GB, free: 2.973 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.683e-05/0.9242, allocations: 0 / 0.6879 GB, free: 2.973 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/0.9262, allocations: 2.147 MB / 0.69 GB, free: 0.8242 MB / 0.5139 GB Notification: Performance of SimCode: time 1.693e-06/0.9262, allocations: 4 kB / 0.69 GB, free: 0.8203 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/1.022, allocations: 59.89 MB / 0.7485 GB, free: 5.387 MB / 0.5764 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/1.022, allocations: 231.3 kB / 0.7488 GB, free: 5.133 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.112/6.134, allocations: 0 / 0.7488 GB, free: 5.133 MB / 0.5764 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_ParameterArrays_ScaledExperiments_Table_N_50_M_50_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_ParameterArrays_ScaledExperiments_Table_N_50_M_50.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.ParameterArrays.ScaledExperiments.Table_N_50_M_50_res.mat does not exist to compare? outputFormat=mat