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.0009529/0.0009529, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.244/1.244, allocations: 223.2 MB / 240.3 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009613, allocations: 88.61 kB / 291.5 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8123/0.8123, allocations: 120.5 MB / 463 MB, free: 8.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003779, allocations: 12 kB / 0.5434 GB, free: 42.29 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 82.85 MB / 0.6243 GB, free: 9.16 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8606/1.014, allocations: 125.2 MB / 0.7466 GB, free: 8.75 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/1.014, allocations: 46.8 kB / 0.7466 GB, free: 8.73 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.00315/1.017, allocations: 0.9697 MB / 0.7476 GB, free: 7.863 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.655e-06/1.017, allocations: 0 / 0.7476 GB, free: 7.863 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.017, allocations: 0 / 0.7476 GB, free: 7.863 MB / 0.5107 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.0004608/1.018, allocations: 383.8 kB / 0.748 GB, free: 7.445 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.018, allocations: 8.031 kB / 0.748 GB, free: 7.438 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/1.018, allocations: 42.39 kB / 0.748 GB, free: 7.391 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/1.018, allocations: 4 kB / 0.748 GB, free: 7.387 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/1.018, allocations: 175 kB / 0.7482 GB, free: 7.176 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.018, allocations: 3.938 kB / 0.7482 GB, free: 7.172 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/1.018, allocations: 11.72 kB / 0.7482 GB, free: 7.164 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/1.018, allocations: 84.64 kB / 0.7483 GB, free: 7.086 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.018, allocations: 0 / 0.7483 GB, free: 7.086 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.018, allocations: 0 / 0.7483 GB, free: 7.086 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.018, allocations: 7.953 kB / 0.7483 GB, free: 7.078 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/1.018, allocations: 31.78 kB / 0.7483 GB, free: 7.055 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/1.019, allocations: 313.5 kB / 0.7486 GB, free: 6.715 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/1.019, allocations: 121.4 kB / 0.7487 GB, free: 6.613 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/1.019, allocations: 4 kB / 0.7487 GB, free: 6.609 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/1.019, allocations: 38.44 kB / 0.7488 GB, free: 6.566 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/1.019, allocations: 3.938 kB / 0.7488 GB, free: 6.562 MB / 0.5107 GB Notification: Performance of matching and sorting (n=10): time 0.0002756/1.019, allocations: 148.6 kB / 0.7489 GB, free: 6.438 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/1.02, allocations: 51.41 kB / 0.749 GB, free: 6.375 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/1.02, allocations: 93 kB / 0.749 GB, free: 6.277 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/1.02, allocations: 29.52 kB / 0.7491 GB, free: 6.246 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/1.02, allocations: 88.27 kB / 0.7492 GB, free: 6.152 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/1.02, allocations: 50.91 kB / 0.7492 GB, free: 6.109 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/1.02, allocations: 3.438 kB / 0.7492 GB, free: 6.109 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/1.02, allocations: 314.7 kB / 0.7495 GB, free: 5.797 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/1.02, allocations: 67.67 kB / 0.7496 GB, free: 5.746 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.262e-05/1.02, allocations: 79.42 kB / 0.7497 GB, free: 5.68 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/1.02, allocations: 81.94 kB / 0.7497 GB, free: 5.625 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.02, allocations: 0 / 0.7497 GB, free: 5.625 MB / 0.5107 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002436/1.02, allocations: 198.3 kB / 0.7499 GB, free: 5.465 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.02, allocations: 4 kB / 0.7499 GB, free: 5.461 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/1.02, allocations: 0 / 0.7499 GB, free: 5.461 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.02, allocations: 7.953 kB / 0.7499 GB, free: 5.453 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/1.021, allocations: 51.91 kB / 0.75 GB, free: 5.402 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.021, allocations: 4 kB / 0.75 GB, free: 5.398 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/1.021, allocations: 16.59 kB / 0.75 GB, free: 5.387 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/1.021, allocations: 4 kB / 0.75 GB, free: 5.383 MB / 0.5107 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 () * Number of clocked 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 8.991e-05/1.021, allocations: 125.7 kB / 0.7501 GB, free: 5.254 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/1.021, allocations: 7.906 kB / 0.7501 GB, free: 5.246 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/1.021, allocations: 11.84 kB / 0.7501 GB, free: 5.238 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.021, allocations: 7.953 kB / 0.7501 GB, free: 5.23 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.021, allocations: 0 / 0.7501 GB, free: 5.23 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.021, allocations: 0 / 0.7501 GB, free: 5.23 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/1.021, allocations: 193.6 kB / 0.7503 GB, free: 5 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.021, allocations: 3.938 kB / 0.7503 GB, free: 5 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/1.022, allocations: 55.91 kB / 0.7504 GB, free: 4.949 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.022, allocations: 0 / 0.7504 GB, free: 4.949 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/1.022, allocations: 8 kB / 0.7504 GB, free: 4.941 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.022, allocations: 0 / 0.7504 GB, free: 4.941 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.022, allocations: 4.328 kB / 0.7504 GB, free: 4.938 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/1.022, allocations: 245.7 kB / 0.7506 GB, free: 4.711 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/1.022, allocations: 93.12 kB / 0.7507 GB, free: 4.602 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/1.022, allocations: 4 kB / 0.7507 GB, free: 4.598 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/1.022, allocations: 7.859 kB / 0.7507 GB, free: 4.594 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/1.022, allocations: 15.94 kB / 0.7508 GB, free: 4.578 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/1.022, allocations: 4.094 kB / 0.7508 GB, free: 4.574 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.496e-05/1.022, allocations: 87.2 kB / 0.7508 GB, free: 4.488 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.022, allocations: 0 / 0.7508 GB, free: 4.488 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002169/1.022, allocations: 19.88 kB / 0.7509 GB, free: 4.473 MB / 0.5107 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 () * Number of clocked 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.0005018/1.023, allocations: 0.7809 MB / 0.7516 GB, free: 3.699 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0002194/1.023, allocations: 122.1 kB / 0.7517 GB, free: 3.609 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.023, allocations: 3.938 kB / 0.7517 GB, free: 3.605 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/1.023, allocations: 47.59 kB / 0.7518 GB, free: 3.566 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/1.023, allocations: 3.953 kB / 0.7518 GB, free: 3.562 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/1.024, allocations: 1.006 MB / 0.7528 GB, free: 2.582 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/1.025, allocations: 0.7043 MB / 0.7535 GB, free: 1.852 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 7.436e-05/1.025, allocations: 32.52 kB / 0.7535 GB, free: 1.82 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/1.025, allocations: 27.19 kB / 0.7535 GB, free: 1.805 MB / 0.5107 GB Notification: Performance of SimCode: time 2.91e-07/1.025, allocations: 0 / 0.7535 GB, free: 1.805 MB / 0.5107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/1.038, allocations: 1.963 MB / 0.7554 GB, free: 28 kB / 0.5107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.038, allocations: 196.1 kB / 0.7556 GB, free: 15.79 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.753, allocations: 3.234 kB / 0.7556 GB, free: 15.79 MB / 0.5263 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