Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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: translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 109.9 kB / 16.92 MB, free: 5.773 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.002429/0.002429, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.361/1.361, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.154/1.154, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.89 kB / 0.4909 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5947/0.596, allocations: 80.68 MB / 0.5697 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002664/0.5987, allocations: 1.18 MB / 0.5709 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002056/0.5989, allocations: 25.39 kB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.599, allocations: 1.031 kB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.12e-05/0.5991, allocations: 7.938 kB / 0.5709 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.5991, allocations: 1.375 kB / 0.5709 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.5993, allocations: 8.922 kB / 0.5709 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.5994, allocations: 59.25 kB / 0.571 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.013e-05/0.5995, allocations: 2.312 kB / 0.571 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.5996, allocations: 20.08 kB / 0.571 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.5996, allocations: 28.77 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.5997, allocations: 1.969 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.5997, allocations: 3.219 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.5997, allocations: 10.8 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.5998, allocations: 27.88 kB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.396e-05/0.5999, allocations: 35.81 kB / 0.5711 GB, free: 42.3 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5999, allocations: 0 / 0.5711 GB, free: 42.3 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5999, allocations: 0 / 0.5711 GB, free: 42.3 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.5999, allocations: 1.156 kB / 0.5711 GB, free: 42.3 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.0005752/0.6005, allocations: 378.2 kB / 0.5715 GB, free: 41.92 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.6005, allocations: 12.98 kB / 0.5715 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.6006, allocations: 12.12 kB / 0.5715 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.6008, allocations: 179.2 kB / 0.5717 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.6008, allocations: 2.656 kB / 0.5717 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.6008, allocations: 9.75 kB / 0.5717 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.601, allocations: 77.39 kB / 0.5718 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.601, allocations: 192 / 0.5718 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.601, allocations: 9.266 kB / 0.5718 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.601, allocations: 1.469 kB / 0.5718 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.6011, allocations: 33.11 kB / 0.5718 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.6016, allocations: 325.2 kB / 0.5721 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.6018, allocations: 118.1 kB / 0.5722 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.6019, allocations: 38.88 kB / 0.5723 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.6019, allocations: 1.719 kB / 0.5723 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.602, allocations: 39.81 kB / 0.5723 GB, free: 41.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.602, allocations: 0 / 0.5723 GB, free: 41.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0003156/0.6023, allocations: 145.8 kB / 0.5724 GB, free: 41.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.6023, allocations: 53.88 kB / 0.5725 GB, free: 41.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.6024, allocations: 98.3 kB / 0.5726 GB, free: 40.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.6024, allocations: 27.34 kB / 0.5726 GB, free: 40.88 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.6025, allocations: 87.98 kB / 0.5727 GB, free: 40.79 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.6025, allocations: 53.59 kB / 0.5727 GB, free: 40.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.6026, allocations: 36.06 kB / 0.5728 GB, free: 40.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.437e-05/0.6026, allocations: 321.5 kB / 0.5731 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.6027, allocations: 68.92 kB / 0.5732 GB, free: 40.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.6029, allocations: 84.66 kB / 0.5732 GB, free: 40.31 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.603, allocations: 141 kB / 0.5734 GB, free: 40.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6031, allocations: 0 / 0.5734 GB, free: 40.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002763/0.6033, allocations: 189 kB / 0.5735 GB, free: 40.14 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6034, allocations: 5.5 kB / 0.5736 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6034, allocations: 0 / 0.5736 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6034, allocations: 5.875 kB / 0.5736 GB, free: 40.13 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.6036, allocations: 59.5 kB / 0.5736 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6036, allocations: 1.094 kB / 0.5736 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.6037, allocations: 12.25 kB / 0.5736 GB, free: 40.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.6037, allocations: 8.406 kB / 0.5736 GB, free: 40.11 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 7.946e-05/0.6038, allocations: 121.7 kB / 0.5738 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.6038, allocations: 7.094 kB / 0.5738 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.6039, allocations: 13.44 kB / 0.5738 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.6039, allocations: 5.188 kB / 0.5738 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6039, allocations: 0 / 0.5738 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6039, allocations: 9.234 kB / 0.5738 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.6041, allocations: 189.9 kB / 0.574 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6041, allocations: 1.062 kB / 0.574 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.6044, allocations: 49.09 kB / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.6045, allocations: 1.531 kB / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.6045, allocations: 7.281 kB / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6045, allocations: 384 / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6045, allocations: 0.875 kB / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.6048, allocations: 269.1 kB / 0.5743 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.6048, allocations: 78.45 kB / 0.5744 GB, free: 39.43 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.6048, allocations: 8.297 kB / 0.5744 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.6049, allocations: 10.7 kB / 0.5744 GB, free: 39.41 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.605, allocations: 2.406 kB / 0.5744 GB, free: 39.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.605, allocations: 6.562 kB / 0.5744 GB, free: 39.41 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.605, allocations: 82.39 kB / 0.5745 GB, free: 39.33 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.605, allocations: 8.625 kB / 0.5745 GB, free: 39.32 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002393/0.6053, allocations: 22.66 kB / 0.5745 GB, free: 39.32 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 9.357e-05/0.6054, allocations: 104 kB / 0.5746 GB, free: 39.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.6056, allocations: 129.8 kB / 0.5747 GB, free: 39.18 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6056, allocations: 1 kB / 0.5747 GB, free: 39.18 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.6057, allocations: 45.41 kB / 0.5748 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.6059, allocations: 9.391 kB / 0.5748 GB, free: 39.15 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.6065, allocations: 337.8 kB / 0.5751 GB, free: 38.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.6066, allocations: 0.6942 MB / 0.5758 GB, free: 38.19 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.6067, allocations: 38.42 kB / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.6068, allocations: 12.38 kB / 0.5758 GB, free: 38.17 MB / 462.3 MB Notification: Performance of SimCode: time 4.41e-07/0.6068, allocations: 0 / 0.5758 GB, free: 38.17 MB / 462.3 MB Notification: Performance of Templates: time 0.003586/0.6104, allocations: 0.7895 MB / 0.5766 GB, free: 37.79 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches