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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.05004/0.05004, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 202.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.279/2.279, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 177] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.414/1.414, allocations: 120.6 MB / 435.3 MB, free: 0.8281 MB / 334.1 MB " [Timeout remaining time 178] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.04646/0.04646, allocations: 63.91 kB / 0.6075 GB, free: 10.95 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.2073, allocations: 85.86 MB / 0.6914 GB, free: 4.875 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.03535/0.2427, allocations: 1.195 MB / 0.6925 GB, free: 3.672 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001749/0.2428, allocations: 23.91 kB / 0.6925 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.2429, allocations: 0 / 0.6925 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.052e-05/0.243, allocations: 3.984 kB / 0.6925 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 3.636e-05/0.243, allocations: 7.938 kB / 0.6926 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.2432, allocations: 4 kB / 0.6926 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.05219/0.2954, allocations: 63.86 kB / 0.6926 GB, free: 3.57 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.2954, allocations: 0 / 0.6926 GB, free: 3.57 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.2955, allocations: 23.92 kB / 0.6926 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2956, allocations: 19.97 kB / 0.6927 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.2956, allocations: 4 kB / 0.6927 GB, free: 3.523 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.2956, allocations: 4 kB / 0.6927 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.2957, allocations: 19.97 kB / 0.6927 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.2957, allocations: 19.86 kB / 0.6927 GB, free: 3.48 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.2958, allocations: 48.05 kB / 0.6928 GB, free: 3.434 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2959, allocations: 4 kB / 0.6928 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of FrontEnd: time 8.616e-06/0.2959, allocations: 0 / 0.6928 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.01781/0.3137, allocations: 0 / 0.6928 GB, free: 3.43 MB / 0.5139 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.01835/0.332, allocations: 298.1 kB / 0.693 GB, free: 3.105 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.3321, allocations: 12.03 kB / 0.693 GB, free: 3.094 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.773e-05/0.3321, allocations: 8.188 kB / 0.6931 GB, free: 3.086 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.3322, allocations: 34.75 kB / 0.6931 GB, free: 3.043 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.3322, allocations: 4.938 kB / 0.6931 GB, free: 3.039 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/0.3501, allocations: 130.4 kB / 0.6932 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3501, allocations: 4.375 kB / 0.6932 GB, free: 2.883 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.3501, allocations: 8.375 kB / 0.6932 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.3503, allocations: 77.95 kB / 0.6933 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.02123/0.3716, allocations: 0 / 0.6933 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3716, allocations: 4 kB / 0.6933 GB, free: 2.789 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3716, allocations: 0 / 0.6933 GB, free: 2.789 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3717, allocations: 31.98 kB / 0.6933 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007483/0.3725, allocations: 295.8 kB / 0.6936 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.3727, allocations: 118.5 kB / 0.6937 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/0.3728, allocations: 36.84 kB / 0.6938 GB, free: 2.262 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.3728, allocations: 0 / 0.6938 GB, free: 2.262 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.3729, allocations: 38.67 kB / 0.6938 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.3729, allocations: 3.938 kB / 0.6938 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of matching and sorting (n=10): time 0.05245/0.4253, allocations: 145.8 kB / 0.694 GB, free: 2.062 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.4254, allocations: 51.41 kB / 0.694 GB, free: 2 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.4255, allocations: 106.2 kB / 0.6941 GB, free: 1.887 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.4256, allocations: 29.7 kB / 0.6941 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.03277/0.4583, allocations: 84.09 kB / 0.6942 GB, free: 1.766 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4584, allocations: 47.64 kB / 0.6943 GB, free: 1.719 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.4585, allocations: 41.64 kB / 0.6943 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.4588, allocations: 327.2 kB / 0.6946 GB, free: 1.344 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4589, allocations: 55.95 kB / 0.6947 GB, free: 1.289 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.4591, allocations: 87.16 kB / 0.6947 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.4593, allocations: 133.6 kB / 0.6949 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4593, allocations: 0 / 0.6949 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004215/0.4597, allocations: 196.1 kB / 0.6951 GB, free: 0.8672 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4598, allocations: 8.031 kB / 0.6951 GB, free: 0.8594 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4598, allocations: 0 / 0.6951 GB, free: 0.8594 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.4598, allocations: 4 kB / 0.6951 GB, free: 0.8555 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.4601, allocations: 51.91 kB / 0.6951 GB, free: 0.8047 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.4601, allocations: 7.938 kB / 0.6951 GB, free: 0.7969 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.4602, allocations: 19.88 kB / 0.6951 GB, free: 0.7773 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.4602, allocations: 4 kB / 0.6951 GB, free: 0.7734 MB / 0.5139 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.4603, allocations: 117.8 kB / 0.6953 GB, free: 0.6484 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.4604, allocations: 11.89 kB / 0.6953 GB, free: 0.6367 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.4604, allocations: 20.05 kB / 0.6953 GB, free: 0.6133 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4604, allocations: 0 / 0.6953 GB, free: 0.6133 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4604, allocations: 7.938 kB / 0.6953 GB, free: 0.6055 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4604, allocations: 0 / 0.6953 GB, free: 0.6055 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.4608, allocations: 160.8 kB / 0.6955 GB, free: 416 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4608, allocations: 192 / 0.6955 GB, free: 416 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.4611, allocations: 51.97 kB / 0.6955 GB, free: 364 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4611, allocations: 0 / 0.6955 GB, free: 364 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.4612, allocations: 11.97 kB / 0.6955 GB, free: 352 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4612, allocations: 4 kB / 0.6955 GB, free: 348 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4612, allocations: 7.938 kB / 0.6955 GB, free: 340 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.4616, allocations: 251.3 kB / 0.6958 GB, free: 72 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.4616, allocations: 11.89 kB / 0.6958 GB, free: 60 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.4616, allocations: 7.938 kB / 0.6958 GB, free: 52 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.4617, allocations: 7.984 kB / 0.6958 GB, free: 44 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.04891/0.5106, allocations: 11.92 kB / 0.6958 GB, free: 32 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.5106, allocations: 4.281 kB / 0.6958 GB, free: 28 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.000128/0.5108, allocations: 83.28 kB / 0.6959 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.5108, allocations: 96 / 0.6959 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003619/0.5111, allocations: 27.88 kB / 0.6959 GB, free: 15.92 MB / 0.5295 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 (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.0008629/0.512, allocations: 0.7749 MB / 0.6967 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.5123, allocations: 120 kB / 0.6968 GB, free: 15 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5123, allocations: 0 / 0.6968 GB, free: 15 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.5124, allocations: 43.92 kB / 0.6968 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06826/0.5807, allocations: 10.89 kB / 0.6968 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07121/0.6519, allocations: 1.786 MB / 0.6986 GB, free: 13.08 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.6524, allocations: 0.7039 MB / 0.6993 GB, free: 12.35 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.6525, allocations: 32.45 kB / 0.6993 GB, free: 12.32 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.6526, allocations: 23.44 kB / 0.6993 GB, free: 12.3 MB / 0.5295 GB Notification: Performance of SimCode: time 1.202e-06/0.6526, allocations: 0 / 0.6993 GB, free: 12.3 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.049/1.702, allocations: 2.485 MB / 0.7017 GB, free: 9.961 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.31/29.01, allocations: 3.984 kB / 0.7018 GB, free: 9.957 MB / 0.5295 GB " [Timeout remaining time 271] (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 --stepSize=0.0008 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 35.09937459905632]