Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 176.8 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009799/0.0009799, allocations: 88.31 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.226/1.226, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.277e-05, allocations: 3.984 kB / 0.5289 GB, free: 1.191 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6763, allocations: 82.83 MB / 0.6098 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.8607, allocations: 128.5 MB / 0.7353 GB, free: 12.39 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.861, allocations: 47.97 kB / 0.7353 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 15.57/16.43, allocations: 2.183 GB / 2.918 GB, free: 180 MB / 0.7296 GB Notification: Performance of FrontEnd: time 2.785e-06/16.43, allocations: 0 / 2.918 GB, free: 180 MB / 0.7296 GB Notification: Performance of Transformations before backend: time 0.01219/16.44, allocations: 0.9782 MB / 2.919 GB, free: 180 MB / 0.7296 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.1161/16.56, allocations: 49.3 MB / 2.967 GB, free: 149.5 MB / 0.7296 GB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/16.56, allocations: 11.19 kB / 2.967 GB, free: 149.5 MB / 0.7296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0212/16.58, allocations: 9.045 MB / 2.976 GB, free: 144.5 MB / 0.7296 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3821/16.96, allocations: 89.17 MB / 3.063 GB, free: 63.36 MB / 0.7296 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/16.96, allocations: 0 / 3.063 GB, free: 63.36 MB / 0.7296 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/16.96, allocations: 3.984 kB / 3.063 GB, free: 63.35 MB / 0.7296 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.649e-05/16.96, allocations: 15.94 kB / 3.063 GB, free: 63.34 MB / 0.7296 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.83e-05/16.96, allocations: 49.67 kB / 3.063 GB, free: 63.28 MB / 0.7296 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/16.96, allocations: 0 / 3.063 GB, free: 63.28 MB / 0.7296 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/16.96, allocations: 7.953 kB / 3.063 GB, free: 63.27 MB / 0.7296 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/16.96, allocations: 3.984 kB / 3.063 GB, free: 63.27 MB / 0.7296 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07685/17.04, allocations: 26.7 MB / 3.089 GB, free: 36.5 MB / 0.7296 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/17.04, allocations: 42.62 kB / 3.089 GB, free: 36.45 MB / 0.7296 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/17.04, allocations: 16.95 kB / 3.089 GB, free: 36.43 MB / 0.7296 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/17.04, allocations: 3.984 kB / 3.089 GB, free: 36.43 MB / 0.7296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/17.04, allocations: 71.25 kB / 3.089 GB, free: 36.35 MB / 0.7296 GB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/17.04, allocations: 0 / 3.089 GB, free: 36.35 MB / 0.7296 GB Notification: Performance of matching and sorting (n=5): time 0.01406/17.05, allocations: 9.107 MB / 3.098 GB, free: 27.12 MB / 0.7296 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/17.05, allocations: 59.34 kB / 3.098 GB, free: 27.05 MB / 0.7296 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7899/17.84, allocations: 80.39 MB / 3.177 GB, free: 123.1 MB / 0.7296 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/17.84, allocations: 25.7 kB / 3.177 GB, free: 123.1 MB / 0.7296 GB Notification: Performance of collectInitialEqns (initialization): time 0.08436/17.93, allocations: 46.7 MB / 3.222 GB, free: 85.17 MB / 0.7296 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/17.93, allocations: 14.86 kB / 3.222 GB, free: 85.17 MB / 0.7296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/17.93, allocations: 3.062 kB / 3.222 GB, free: 85.17 MB / 0.7296 GB Notification: Performance of setup shared object (initialization): time 6.883e-05/17.93, allocations: 310.6 kB / 3.223 GB, free: 84.86 MB / 0.7296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/17.93, allocations: 11.38 kB / 3.223 GB, free: 84.86 MB / 0.7296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/17.93, allocations: 30.58 kB / 3.223 GB, free: 84.84 MB / 0.7296 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/17.93, allocations: 11.62 kB / 3.223 GB, free: 84.83 MB / 0.7296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/17.93, allocations: 4.875 kB / 3.223 GB, free: 84.83 MB / 0.7296 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.01719/17.94, allocations: 9.108 MB / 3.232 GB, free: 84.79 MB / 0.7296 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/17.94, allocations: 5.812 kB / 3.232 GB, free: 84.79 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/17.94, allocations: 0 / 3.232 GB, free: 84.79 MB / 0.7296 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/17.94, allocations: 0 / 3.232 GB, free: 84.79 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/17.94, allocations: 8.75 kB / 3.232 GB, free: 84.79 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/17.94, allocations: 2.875 kB / 3.232 GB, free: 84.79 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.013/17.96, allocations: 257.6 kB / 3.232 GB, free: 84.79 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/17.96, allocations: 6.344 kB / 3.232 GB, free: 84.79 MB / 0.7296 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.794e-05/17.96, allocations: 118.6 kB / 3.232 GB, free: 84.68 MB / 0.7296 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01583/17.97, allocations: 9.35 MB / 3.241 GB, free: 79.64 MB / 0.7296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01586/17.99, allocations: 9.284 MB / 3.25 GB, free: 74.64 MB / 0.7296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04477/18.03, allocations: 10.3 MB / 3.26 GB, free: 87.69 MB / 0.7453 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/18.03, allocations: 7.141 kB / 3.26 GB, free: 87.68 MB / 0.7453 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/18.03, allocations: 0 / 3.26 GB, free: 87.68 MB / 0.7453 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/18.03, allocations: 0 / 3.26 GB, free: 87.68 MB / 0.7453 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1043/18.14, allocations: 29.4 MB / 3.289 GB, free: 78.54 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/18.14, allocations: 3.344 kB / 3.289 GB, free: 78.54 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/18.14, allocations: 6.938 kB / 3.289 GB, free: 78.54 MB / 0.7453 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/18.14, allocations: 0 / 3.289 GB, free: 78.54 MB / 0.7453 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/18.14, allocations: 1.828 kB / 3.289 GB, free: 78.54 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/18.14, allocations: 3.5 kB / 3.289 GB, free: 78.54 MB / 0.7453 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/18.14, allocations: 0 / 3.289 GB, free: 78.54 MB / 0.7453 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/18.16, allocations: 9.965 MB / 3.299 GB, free: 72.87 MB / 0.7453 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01938/18.18, allocations: 7.659 MB / 3.306 GB, free: 67.77 MB / 0.7453 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00967/18.19, allocations: 250.7 kB / 3.306 GB, free: 67.77 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01088/18.2, allocations: 261.9 kB / 3.307 GB, free: 67.77 MB / 0.7453 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/18.2, allocations: 1.875 kB / 3.307 GB, free: 67.77 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/18.2, allocations: 3.906 kB / 3.307 GB, free: 67.77 MB / 0.7453 GB Notification: Performance of sorting global known variables: time 0.19/18.39, allocations: 63.14 MB / 3.368 GB, free: 23.34 MB / 0.7453 GB Notification: Performance of sort global known variables: time 2.425e-06/18.39, allocations: 0 / 3.368 GB, free: 23.34 MB / 0.7453 GB Notification: Performance of remove unused functions: time 0.01345/18.4, allocations: 2.467 MB / 3.371 GB, free: 20.87 MB / 0.7453 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01829/18.42, allocations: 11.43 MB / 3.382 GB, free: 9.461 MB / 0.7453 GB Notification: Performance of simCode: created initialization part: time 0.0001803/18.42, allocations: 41.55 kB / 3.382 GB, free: 9.422 MB / 0.7453 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/18.42, allocations: 0 / 3.382 GB, free: 9.422 MB / 0.7453 GB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/18.42, allocations: 19.38 kB / 3.382 GB, free: 9.406 MB / 0.7453 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02442/18.44, allocations: 6.52 MB / 3.388 GB, free: 2.887 MB / 0.7453 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9212/19.36, allocations: 135 MB / 3.52 GB, free: 154.3 MB / 0.7765 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1217/19.49, allocations: 35.86 MB / 3.555 GB, free: 143.9 MB / 0.7765 GB Notification: Performance of simCode: alias equations: time 0.09146/19.58, allocations: 22.56 MB / 3.577 GB, free: 132.2 MB / 0.7765 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.07224/19.65, allocations: 45.33 MB / 3.621 GB, free: 92.71 MB / 0.7765 GB Notification: Performance of SimCode: time 2.074e-06/19.65, allocations: 0 / 3.621 GB, free: 92.71 MB / 0.7765 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.815/23.47, allocations: 0.9608 GB / 4.582 GB, free: 161.6 MB / 0.964 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/23.47, allocations: 207.9 kB / 4.582 GB, free: 161.3 MB / 0.964 GB Notification: Performance of buildModelFMU: Generate platform static: time 79.06/102.5, allocations: 0 / 4.582 GB, free: 161.3 MB / 0.964 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat does not exist to compare? outputFormat=mat