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.0009431/0.0009432, allocations: 92.73 kB / 16.65 MB, free: 6.59 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.0009117/0.0009117, allocations: 182.1 kB / 17.56 MB, free: 6.203 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.215/1.215, allocations: 223.3 MB / 241.6 MB, free: 120 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8273/0.8273, allocations: 120.5 MB / 413.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002763, allocations: 12 kB / 0.495 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4369, allocations: 82.84 MB / 0.5759 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.0008606/0.4378, allocations: 0.9053 MB / 0.5768 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001173/0.4379, allocations: 21.39 kB / 0.5768 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.4379, allocations: 3.156 kB / 0.5768 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.338e-05/0.438, allocations: 5.156 kB / 0.5768 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 2.876e-05/0.4381, allocations: 0 / 0.5768 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.4382, allocations: 6.531 kB / 0.5768 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.4383, allocations: 60.39 kB / 0.5769 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.4383, allocations: 0 / 0.5769 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.584e-05/0.4383, allocations: 20.8 kB / 0.5769 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.4384, allocations: 23.44 kB / 0.5769 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.4384, allocations: 3.781 kB / 0.5769 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.4384, allocations: 5.938 kB / 0.5769 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.4384, allocations: 15.92 kB / 0.5769 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.4385, allocations: 48.25 kB / 0.577 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.576e-05/0.4385, allocations: 42.41 kB / 0.577 GB, free: 41.01 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4386, allocations: 0 / 0.577 GB, free: 41.01 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4386, allocations: 0 / 0.577 GB, free: 41.01 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.4386, allocations: 0 / 0.577 GB, free: 41.01 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.0003586/0.4389, allocations: 372.5 kB / 0.5774 GB, free: 40.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.439, allocations: 9.781 kB / 0.5774 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.439, allocations: 35.5 kB / 0.5774 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.439, allocations: 4.5 kB / 0.5774 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.955e-05/0.4391, allocations: 182.9 kB / 0.5776 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.4392, allocations: 11.47 kB / 0.5776 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.4392, allocations: 4.062 kB / 0.5776 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4393, allocations: 91.67 kB / 0.5777 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.4393, allocations: 3.938 kB / 0.5777 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.4393, allocations: 0 / 0.5777 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4393, allocations: 1.188 kB / 0.5777 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/0.4394, allocations: 34.14 kB / 0.5777 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.4398, allocations: 317.1 kB / 0.578 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.4399, allocations: 121.9 kB / 0.5782 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.44, allocations: 39 kB / 0.5782 GB, free: 39.87 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.44, allocations: 5.312 kB / 0.5782 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.44, allocations: 39.92 kB / 0.5782 GB, free: 39.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.44, allocations: 0 / 0.5782 GB, free: 39.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002245/0.4402, allocations: 142.1 kB / 0.5784 GB, free: 39.73 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/0.4403, allocations: 52.78 kB / 0.5784 GB, free: 39.67 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.52e-05/0.4403, allocations: 99.34 kB / 0.5785 GB, free: 39.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.4403, allocations: 31.08 kB / 0.5786 GB, free: 39.54 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.4404, allocations: 84.14 kB / 0.5786 GB, free: 39.45 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.4404, allocations: 50.3 kB / 0.5787 GB, free: 39.41 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.4404, allocations: 23.2 kB / 0.5787 GB, free: 39.38 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.4405, allocations: 317.7 kB / 0.579 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.4405, allocations: 68.83 kB / 0.5791 GB, free: 39.03 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.418e-05/0.4406, allocations: 82.84 kB / 0.5791 GB, free: 38.98 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4408, allocations: 147.5 kB / 0.5793 GB, free: 38.9 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4408, allocations: 0 / 0.5793 GB, free: 38.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002247/0.441, allocations: 193.6 kB / 0.5795 GB, free: 38.8 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.441, allocations: 5.344 kB / 0.5795 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.441, allocations: 4.359 kB / 0.5795 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4411, allocations: 1.312 kB / 0.5795 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.4412, allocations: 47.05 kB / 0.5795 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4412, allocations: 1.688 kB / 0.5795 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.4413, allocations: 27.86 kB / 0.5796 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4413, allocations: 8.781 kB / 0.5796 GB, free: 38.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.4414, allocations: 121.8 kB / 0.5797 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.4414, allocations: 7.688 kB / 0.5797 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.4414, allocations: 17.67 kB / 0.5797 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4414, allocations: 0 / 0.5797 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.4415, allocations: 1.312 kB / 0.5797 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4415, allocations: 3.938 kB / 0.5797 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.4417, allocations: 191.5 kB / 0.5799 GB, free: 38.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4417, allocations: 0 / 0.5799 GB, free: 38.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.4419, allocations: 56.97 kB / 0.5799 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4419, allocations: 0.9062 kB / 0.5799 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4419, allocations: 7.672 kB / 0.58 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.442, allocations: 0.9375 kB / 0.58 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.442, allocations: 0 / 0.58 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.4422, allocations: 257 kB / 0.5802 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.4422, allocations: 80.05 kB / 0.5803 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4422, allocations: 10.8 kB / 0.5803 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.4423, allocations: 6.812 kB / 0.5803 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.4423, allocations: 6.516 kB / 0.5803 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4423, allocations: 7.469 kB / 0.5803 GB, free: 38.07 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.026e-05/0.4424, allocations: 86.7 kB / 0.5804 GB, free: 37.99 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4424, allocations: 0 / 0.5804 GB, free: 37.99 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002209/0.4426, allocations: 21.44 kB / 0.5804 GB, free: 37.99 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003216/0.4429, allocations: 0.7928 MB / 0.5812 GB, free: 37.26 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.4431, allocations: 119.2 kB / 0.5813 GB, free: 37.21 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4431, allocations: 4.875 kB / 0.5813 GB, free: 37.21 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.754e-05/0.4432, allocations: 41.73 kB / 0.5813 GB, free: 37.2 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.4434, allocations: 12.91 kB / 0.5814 GB, free: 37.19 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.4446, allocations: 1.811 MB / 0.5831 GB, free: 35.64 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.4447, allocations: 0.6995 MB / 0.5838 GB, free: 34.94 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.4448, allocations: 37.92 kB / 0.5838 GB, free: 34.92 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.4448, allocations: 20.03 kB / 0.5839 GB, free: 34.91 MB / 462.3 MB Notification: Performance of SimCode: time 3.1e-07/0.4448, allocations: 0 / 0.5839 GB, free: 34.91 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.4572, allocations: 2.008 MB / 0.5858 GB, free: 34.03 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/0.4573, allocations: 217.3 kB / 0.586 GB, free: 33.78 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.172, allocations: 0 / 0.586 GB, free: 33.78 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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches