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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001075, allocations: 81.94 kB / 16.31 MB, free: 6.449 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.001176/0.001176, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.452/1.452, allocations: 223.3 MB / 241.2 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.061/1.061, allocations: 120.5 MB / 412.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004941, allocations: 8 kB / 0.4944 GB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2144, allocations: 82.85 MB / 0.5753 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001467/0.216, allocations: 0.8887 MB / 0.5761 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001732/0.2162, allocations: 23.91 kB / 0.5762 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.2162, allocations: 4 kB / 0.5762 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.983e-05/0.2163, allocations: 0 / 0.5762 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.94e-05/0.2164, allocations: 7.938 kB / 0.5762 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.2165, allocations: 11.92 kB / 0.5762 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2166, allocations: 47.88 kB / 0.5762 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.2167, allocations: 4 kB / 0.5762 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.2167, allocations: 15.98 kB / 0.5762 GB, free: 7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.2168, allocations: 27.95 kB / 0.5763 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2168, allocations: 0 / 0.5763 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.2169, allocations: 4 kB / 0.5763 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.2169, allocations: 23.92 kB / 0.5763 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.217, allocations: 29.7 kB / 0.5763 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.208e-05/0.217, allocations: 24.23 kB / 0.5763 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.217, allocations: 0 / 0.5763 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.217, allocations: 0 / 0.5763 GB, free: 6.887 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2171, allocations: 0 / 0.5763 GB, free: 6.887 MB / 446.1 MB 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.0005894/0.2176, allocations: 371.2 kB / 0.5767 GB, free: 6.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.2177, allocations: 12.03 kB / 0.5767 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.2178, allocations: 42.48 kB / 0.5768 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.2178, allocations: 7.953 kB / 0.5768 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.218, allocations: 182.8 kB / 0.5769 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.218, allocations: 0 / 0.5769 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.2181, allocations: 8 kB / 0.5769 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2182, allocations: 77.64 kB / 0.577 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2183, allocations: 3.938 kB / 0.577 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2183, allocations: 8 kB / 0.577 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2183, allocations: 3.953 kB / 0.577 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.2184, allocations: 35.91 kB / 0.5771 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.2189, allocations: 312.8 kB / 0.5774 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.2191, allocations: 118.5 kB / 0.5775 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.2192, allocations: 40.83 kB / 0.5775 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.2192, allocations: 4.281 kB / 0.5775 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.2193, allocations: 34.5 kB / 0.5776 GB, free: 5.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.2193, allocations: 0 / 0.5776 GB, free: 5.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002953/0.2196, allocations: 145.5 kB / 0.5777 GB, free: 5.328 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2196, allocations: 51.41 kB / 0.5777 GB, free: 5.266 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.2197, allocations: 105.8 kB / 0.5778 GB, free: 5.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2197, allocations: 25.7 kB / 0.5779 GB, free: 5.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.2198, allocations: 88.23 kB / 0.5779 GB, free: 5.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.2199, allocations: 51.3 kB / 0.578 GB, free: 4.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.2199, allocations: 4 kB / 0.578 GB, free: 4.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.22, allocations: 318.8 kB / 0.5783 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2201, allocations: 64.33 kB / 0.5784 GB, free: 4.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2202, allocations: 81.41 kB / 0.5784 GB, free: 4.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2203, allocations: 71.95 kB / 0.5785 GB, free: 4.438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2204, allocations: 0 / 0.5785 GB, free: 4.438 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002788/0.2206, allocations: 207.6 kB / 0.5787 GB, free: 4.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2207, allocations: 9.812 kB / 0.5787 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2207, allocations: 3.953 kB / 0.5787 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2207, allocations: 4 kB / 0.5787 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.2209, allocations: 51.92 kB / 0.5788 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2209, allocations: 3.984 kB / 0.5788 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.221, allocations: 16.05 kB / 0.5788 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.221, allocations: 7.938 kB / 0.5788 GB, free: 4.137 MB / 446.1 MB 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 0.0001069/0.2211, allocations: 117.8 kB / 0.5789 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.2212, allocations: 11.94 kB / 0.5789 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.2212, allocations: 11.97 kB / 0.5789 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.2212, allocations: 7.953 kB / 0.5789 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2212, allocations: 0 / 0.5789 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2212, allocations: 0 / 0.5789 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.2215, allocations: 189.7 kB / 0.5791 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2215, allocations: 3.938 kB / 0.5791 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.2218, allocations: 51.97 kB / 0.5792 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2218, allocations: 0 / 0.5792 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.2218, allocations: 11.98 kB / 0.5792 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2219, allocations: 4 kB / 0.5792 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2219, allocations: 3.953 kB / 0.5792 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2222, allocations: 251.4 kB / 0.5794 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.2222, allocations: 85.03 kB / 0.5795 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.2223, allocations: 11.98 kB / 0.5795 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.2223, allocations: 0 / 0.5795 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.2224, allocations: 11.94 kB / 0.5795 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.2224, allocations: 8 kB / 0.5796 GB, free: 3.273 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.33e-05/0.2224, allocations: 83.28 kB / 0.5796 GB, free: 3.191 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2224, allocations: 0 / 0.5796 GB, free: 3.191 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.2227, allocations: 20 kB / 0.5796 GB, free: 3.172 MB / 446.1 MB 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.000632/0.2233, allocations: 0.7928 MB / 0.5804 GB, free: 2.355 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.2236, allocations: 120 kB / 0.5805 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2236, allocations: 0 / 0.5805 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.2237, allocations: 39.92 kB / 0.5806 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.224, allocations: 14.19 kB / 0.5806 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.2252, allocations: 0.8582 MB / 0.5814 GB, free: 1.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.2255, allocations: 0.7004 MB / 0.5821 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.491e-05/0.2256, allocations: 36.52 kB / 0.5821 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.2257, allocations: 23.44 kB / 0.5822 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2257, allocations: 0 / 0.5822 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5543/0.7801, allocations: 1.959 MB / 0.5841 GB, free: 15.39 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.7803, allocations: 209.7 kB / 0.5843 GB, free: 15.16 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.782, allocations: 0 / 0.5843 GB, free: 15.16 MB / 446.3 MB (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) Environment - environmentSimulation: 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