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.001144/0.001144, allocations: 92.53 kB / 16.3 MB, free: 5.523 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.001202/0.001202, allocations: 184.9 kB / 17.2 MB, free: 5.457 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.389/1.389, allocations: 223.2 MB / 241.1 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.099/1.099, allocations: 120.5 MB / 412.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004451, allocations: 12 kB / 0.4943 GB, free: 11.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.724/0.7245, allocations: 82.84 MB / 0.5752 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001159/0.7257, allocations: 0.8997 MB / 0.576 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001571/0.7259, allocations: 19.48 kB / 0.5761 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.7259, allocations: 0 / 0.5761 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.726, allocations: 5.219 kB / 0.5761 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.756e-05/0.726, allocations: 7.984 kB / 0.5761 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.7262, allocations: 2.406 kB / 0.5761 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.7263, allocations: 39.03 kB / 0.5761 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.7264, allocations: 2.125 kB / 0.5761 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.7264, allocations: 23.31 kB / 0.5761 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.7265, allocations: 24.81 kB / 0.5762 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.7265, allocations: 6.875 kB / 0.5762 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.7265, allocations: 2.562 kB / 0.5762 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.7266, allocations: 14.92 kB / 0.5762 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.7266, allocations: 29.27 kB / 0.5762 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.245e-05/0.7267, allocations: 26.48 kB / 0.5762 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.7267, allocations: 0 / 0.5762 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7267, allocations: 0 / 0.5762 GB, free: 40.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.7267, allocations: 0 / 0.5762 GB, free: 40.55 MB / 462.3 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.0005309/0.7272, allocations: 376.7 kB / 0.5766 GB, free: 40.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.7273, allocations: 12.19 kB / 0.5766 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.7273, allocations: 41.02 kB / 0.5766 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.7274, allocations: 3.062 kB / 0.5766 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.7275, allocations: 170.3 kB / 0.5768 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.7275, allocations: 2.375 kB / 0.5768 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.7276, allocations: 12.34 kB / 0.5768 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.7278, allocations: 80.55 kB / 0.5769 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.7278, allocations: 0 / 0.5769 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.7278, allocations: 5.141 kB / 0.5769 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.7278, allocations: 1.219 kB / 0.5769 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.7279, allocations: 37.69 kB / 0.5769 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.7284, allocations: 313.5 kB / 0.5772 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.7286, allocations: 124.9 kB / 0.5774 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.7286, allocations: 1.656 kB / 0.5774 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.7287, allocations: 44.62 kB / 0.5774 GB, free: 39.39 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.7287, allocations: 112 / 0.5774 GB, free: 39.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0003078/0.729, allocations: 147 kB / 0.5775 GB, free: 39.3 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.729, allocations: 52.41 kB / 0.5776 GB, free: 39.24 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/0.7291, allocations: 103.1 kB / 0.5777 GB, free: 39.13 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.7291, allocations: 25.7 kB / 0.5777 GB, free: 39.1 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.7292, allocations: 85.95 kB / 0.5778 GB, free: 39.01 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.7292, allocations: 45.27 kB / 0.5778 GB, free: 38.97 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.7292, allocations: 5.406 kB / 0.5778 GB, free: 38.97 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.7293, allocations: 321.6 kB / 0.5782 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.7294, allocations: 56.92 kB / 0.5782 GB, free: 38.62 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.7295, allocations: 81.58 kB / 0.5783 GB, free: 38.58 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.7296, allocations: 77.78 kB / 0.5784 GB, free: 38.55 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7296, allocations: 0 / 0.5784 GB, free: 38.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002575/0.7299, allocations: 198.1 kB / 0.5785 GB, free: 38.44 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7299, allocations: 8.453 kB / 0.5786 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.7299, allocations: 0 / 0.5786 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.73, allocations: 1.5 kB / 0.5786 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.7302, allocations: 55.28 kB / 0.5786 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.7302, allocations: 1.094 kB / 0.5786 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.7303, allocations: 20.42 kB / 0.5786 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.7303, allocations: 3.75 kB / 0.5786 GB, free: 38.41 MB / 462.3 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 8.027e-05/0.7304, allocations: 123.3 kB / 0.5788 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.7304, allocations: 10.83 kB / 0.5788 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.7304, allocations: 20.91 kB / 0.5788 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.7305, allocations: 1.125 kB / 0.5788 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7305, allocations: 384 / 0.5788 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7305, allocations: 1.344 kB / 0.5788 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.7307, allocations: 198.7 kB / 0.579 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7307, allocations: 0 / 0.579 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.731, allocations: 53.38 kB / 0.579 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.731, allocations: 5.219 kB / 0.579 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.731, allocations: 11.27 kB / 0.579 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.7311, allocations: 5.266 kB / 0.579 GB, free: 38 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7311, allocations: 0 / 0.579 GB, free: 38 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.7313, allocations: 249.5 kB / 0.5793 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.7314, allocations: 79.48 kB / 0.5794 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.7314, allocations: 3.312 kB / 0.5794 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.7315, allocations: 14.09 kB / 0.5794 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.7315, allocations: 15.14 kB / 0.5794 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.7316, allocations: 2.031 kB / 0.5794 GB, free: 37.7 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.887e-05/0.7316, allocations: 78.22 kB / 0.5795 GB, free: 37.62 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7316, allocations: 1.25 kB / 0.5795 GB, free: 37.62 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002421/0.7318, allocations: 21.44 kB / 0.5795 GB, free: 37.62 MB / 462.3 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.000478/0.7323, allocations: 0.7813 MB / 0.5803 GB, free: 36.9 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.7326, allocations: 128.1 kB / 0.5804 GB, free: 36.85 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7326, allocations: 0 / 0.5804 GB, free: 36.85 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.7327, allocations: 45.16 kB / 0.5804 GB, free: 36.83 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.7328, allocations: 2.344 kB / 0.5804 GB, free: 36.83 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.734, allocations: 1.015 MB / 0.5814 GB, free: 36.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.7342, allocations: 0.7036 MB / 0.5821 GB, free: 35.32 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.7343, allocations: 34.52 kB / 0.5821 GB, free: 35.31 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.7344, allocations: 24.94 kB / 0.5822 GB, free: 35.3 MB / 462.3 MB Notification: Performance of SimCode: time 2.024e-06/0.7344, allocations: 0 / 0.5822 GB, free: 35.3 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.7474, allocations: 1.953 MB / 0.5841 GB, free: 34.45 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/0.7477, allocations: 199.7 kB / 0.5843 GB, free: 34.21 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.686, allocations: 0 / 0.5843 GB, free: 34.21 MB / 462.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