Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.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.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",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.001186/0.001186, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 221.3 MB / 235.5 MB, free: 2.949 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.001248/0.001248, allocations: 90.28 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.234/1.234, allocations: 120.5 MB / 457.8 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.04e-05, allocations: 3.984 kB / 0.5358 GB, free: 12.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7084, allocations: 82.83 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.8769, allocations: 125.1 MB / 0.7389 GB, free: 12.06 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001501/0.8771, allocations: 55.91 kB / 0.739 GB, free: 12.01 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.00345/0.8806, allocations: 0.9663 MB / 0.7399 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8806, allocations: 0 / 0.7399 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.8807, allocations: 0 / 0.7399 GB, free: 11.04 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004606/0.8811, allocations: 366.5 kB / 0.7403 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001018/0.8812, allocations: 12.03 kB / 0.7403 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.8814, allocations: 38.56 kB / 0.7403 GB, free: 10.58 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.8814, allocations: 11.86 kB / 0.7403 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.8817, allocations: 179 kB / 0.7405 GB, free: 10.36 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.8817, allocations: 4 kB / 0.7405 GB, free: 10.35 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.8817, allocations: 19.84 kB / 0.7405 GB, free: 10.33 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.8819, allocations: 77.64 kB / 0.7406 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.8819, allocations: 0 / 0.7406 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.8819, allocations: 0 / 0.7406 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.8819, allocations: 7.953 kB / 0.7406 GB, free: 10.24 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.587e-05/0.882, allocations: 35.92 kB / 0.7406 GB, free: 10.21 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.8825, allocations: 312.9 kB / 0.7409 GB, free: 9.852 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.8827, allocations: 122.4 kB / 0.741 GB, free: 9.723 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.463e-05/0.8828, allocations: 36.84 kB / 0.7411 GB, free: 9.684 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.8828, allocations: 4 kB / 0.7411 GB, free: 9.68 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.8829, allocations: 34.56 kB / 0.7411 GB, free: 9.637 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.8829, allocations: 0 / 0.7411 GB, free: 9.637 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0002528/0.8831, allocations: 113.7 kB / 0.7412 GB, free: 9.52 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.8832, allocations: 55.41 kB / 0.7413 GB, free: 9.453 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.8833, allocations: 101 kB / 0.7414 GB, free: 9.348 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.8833, allocations: 25.7 kB / 0.7414 GB, free: 9.316 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.8833, allocations: 84.27 kB / 0.7415 GB, free: 9.227 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.8834, allocations: 47.36 kB / 0.7415 GB, free: 9.18 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.8834, allocations: 4 kB / 0.7415 GB, free: 9.176 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8835, allocations: 322.8 kB / 0.7418 GB, free: 8.852 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.8836, allocations: 56.34 kB / 0.7419 GB, free: 8.797 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.8837, allocations: 85.38 kB / 0.742 GB, free: 8.711 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.8838, allocations: 75.94 kB / 0.742 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8839, allocations: 0 / 0.742 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002629/0.8841, allocations: 192 kB / 0.7422 GB, free: 8.445 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.8841, allocations: 8 kB / 0.7422 GB, free: 8.438 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8842, allocations: 0 / 0.7422 GB, free: 8.438 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.8842, allocations: 3.953 kB / 0.7422 GB, free: 8.434 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.8844, allocations: 55.91 kB / 0.7423 GB, free: 8.379 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.8845, allocations: 0 / 0.7423 GB, free: 8.379 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.8845, allocations: 23.86 kB / 0.7423 GB, free: 8.355 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.8846, allocations: 4 kB / 0.7423 GB, free: 8.352 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.502e-05/0.8846, allocations: 112.9 kB / 0.7424 GB, free: 8.234 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.8847, allocations: 4 kB / 0.7424 GB, free: 8.23 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.8847, allocations: 12.09 kB / 0.7424 GB, free: 8.219 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8847, allocations: 3.953 kB / 0.7424 GB, free: 8.215 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8848, allocations: 112 / 0.7424 GB, free: 8.215 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8848, allocations: 3.938 kB / 0.7424 GB, free: 8.211 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.8851, allocations: 201.6 kB / 0.7426 GB, free: 7.965 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.8851, allocations: 4 kB / 0.7426 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.8855, allocations: 47.97 kB / 0.7427 GB, free: 7.914 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.8855, allocations: 0 / 0.7427 GB, free: 7.914 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.8856, allocations: 8.094 kB / 0.7427 GB, free: 7.906 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8856, allocations: 3.938 kB / 0.7427 GB, free: 7.902 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.8856, allocations: 7.953 kB / 0.7427 GB, free: 7.895 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.8859, allocations: 239.3 kB / 0.7429 GB, free: 7.645 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.8859, allocations: 85.05 kB / 0.743 GB, free: 7.543 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.886, allocations: 15.94 kB / 0.743 GB, free: 7.527 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.8861, allocations: 12.17 kB / 0.743 GB, free: 7.516 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.8861, allocations: 7.953 kB / 0.7431 GB, free: 7.508 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.8861, allocations: 7.969 kB / 0.7431 GB, free: 7.5 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.8862, allocations: 83.28 kB / 0.7431 GB, free: 7.418 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8862, allocations: 0 / 0.7431 GB, free: 7.418 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000233/0.8864, allocations: 24 kB / 0.7432 GB, free: 7.395 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.00054/0.8869, allocations: 0.7748 MB / 0.7439 GB, free: 6.59 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.8872, allocations: 120 kB / 0.744 GB, free: 6.473 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8872, allocations: 0 / 0.744 GB, free: 6.473 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.493e-05/0.8873, allocations: 43.92 kB / 0.7441 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.8874, allocations: 4.703 kB / 0.7441 GB, free: 6.426 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.888, allocations: 355.3 kB / 0.7444 GB, free: 6.039 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.8883, allocations: 0.7004 MB / 0.7451 GB, free: 5.312 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.8884, allocations: 36.38 kB / 0.7451 GB, free: 5.277 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.8885, allocations: 31.31 kB / 0.7452 GB, free: 5.246 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.8885, allocations: 0 / 0.7452 GB, free: 5.246 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.9019, allocations: 1.941 MB / 0.7471 GB, free: 3.445 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.9022, allocations: 171 kB / 0.7472 GB, free: 3.223 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.76, allocations: 5.562 kB / 0.7472 GB, free: 3.219 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat does not exist to compare? outputFormat=mat