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.001541/0.001541, allocations: 114.2 kB / 17.07 MB, free: 5.988 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.001893/0.001893, allocations: 194.1 kB / 18 MB, free: 5.074 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.525/1.525, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.173/1.173, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 66.84 kB / 0.5709 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1927, allocations: 80.69 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.003053/0.1958, allocations: 1.172 MB / 0.6508 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001949/0.196, allocations: 27.89 kB / 0.6509 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.1961, allocations: 4 kB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.37e-05/0.1962, allocations: 0 / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.1963, allocations: 3.938 kB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.1964, allocations: 7.969 kB / 0.6509 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1966, allocations: 59.83 kB / 0.6509 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.1967, allocations: 4 kB / 0.6509 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.1967, allocations: 19.98 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.1968, allocations: 23.95 kB / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1968, allocations: 4 kB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.1968, allocations: 3.938 kB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.1969, allocations: 19.98 kB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.1969, allocations: 23.86 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.197, allocations: 35.83 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1971, allocations: 0 / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1971, allocations: 0 / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1971, allocations: 0 / 0.6511 GB, free: 11.66 MB / 0.4983 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.0006472/0.1977, allocations: 375.4 kB / 0.6514 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1978, allocations: 15.89 kB / 0.6514 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.1978, allocations: 8.891 kB / 0.6514 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1981, allocations: 176.2 kB / 0.6516 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1981, allocations: 12.38 kB / 0.6516 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.1981, allocations: 16.25 kB / 0.6516 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1983, allocations: 78.2 kB / 0.6517 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1983, allocations: 192 / 0.6517 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1983, allocations: 3.938 kB / 0.6517 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1983, allocations: 4 kB / 0.6517 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.056e-05/0.1984, allocations: 31.92 kB / 0.6518 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.199, allocations: 320.8 kB / 0.6521 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1992, allocations: 126.4 kB / 0.6522 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.1993, allocations: 36.84 kB / 0.6522 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.1993, allocations: 0 / 0.6522 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1994, allocations: 34.84 kB / 0.6523 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1994, allocations: 4 kB / 0.6523 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0003232/0.1997, allocations: 149.5 kB / 0.6524 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.1998, allocations: 55.34 kB / 0.6525 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.1999, allocations: 97.86 kB / 0.6525 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1999, allocations: 25.7 kB / 0.6526 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.2, allocations: 96.06 kB / 0.6527 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.2, allocations: 47.59 kB / 0.6527 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.2001, allocations: 37.7 kB / 0.6527 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2003, allocations: 318.8 kB / 0.653 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2004, allocations: 67.89 kB / 0.6531 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.2005, allocations: 79.91 kB / 0.6532 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.2007, allocations: 140.3 kB / 0.6533 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2007, allocations: 4 kB / 0.6533 GB, free: 9.121 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002965/0.201, allocations: 189.5 kB / 0.6535 GB, free: 8.93 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2011, allocations: 12.41 kB / 0.6535 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2011, allocations: 0 / 0.6535 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2011, allocations: 0 / 0.6535 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.2013, allocations: 55.91 kB / 0.6536 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.2013, allocations: 3.938 kB / 0.6536 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.2014, allocations: 23.81 kB / 0.6536 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2014, allocations: 4 kB / 0.6536 GB, free: 8.832 MB / 0.4983 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.0001186/0.2015, allocations: 122.7 kB / 0.6537 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.2016, allocations: 4.062 kB / 0.6537 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.2016, allocations: 23.91 kB / 0.6537 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2016, allocations: 0 / 0.6537 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.2016, allocations: 3.984 kB / 0.6537 GB, free: 8.668 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2016, allocations: 3.938 kB / 0.6538 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.2019, allocations: 185.6 kB / 0.6539 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.202, allocations: 4 kB / 0.6539 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.2022, allocations: 51.97 kB / 0.654 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2022, allocations: 0 / 0.654 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.2023, allocations: 7.984 kB / 0.654 GB, free: 8.371 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2023, allocations: 0 / 0.654 GB, free: 8.371 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2023, allocations: 4 kB / 0.654 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.2026, allocations: 251.3 kB / 0.6542 GB, free: 8.105 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.2027, allocations: 81.05 kB / 0.6543 GB, free: 8.008 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.2028, allocations: 12 kB / 0.6543 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.2028, allocations: 7.984 kB / 0.6543 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.2029, allocations: 4 kB / 0.6543 GB, free: 7.984 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2029, allocations: 8.016 kB / 0.6543 GB, free: 7.977 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.203, allocations: 91.22 kB / 0.6544 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.01e-07/0.203, allocations: 0 / 0.6544 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000238/0.2032, allocations: 24 kB / 0.6545 GB, free: 7.863 MB / 0.4983 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.0001203/0.2033, allocations: 99.72 kB / 0.6545 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.2036, allocations: 123.9 kB / 0.6547 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2036, allocations: 0 / 0.6547 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.2037, allocations: 48.19 kB / 0.6547 GB, free: 7.59 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2039, allocations: 8.25 kB / 0.6547 GB, free: 7.582 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.2045, allocations: 335.4 kB / 0.655 GB, free: 7.23 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.2049, allocations: 0.7 MB / 0.6557 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 8.83e-05/0.205, allocations: 36.52 kB / 0.6558 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.205, allocations: 15.44 kB / 0.6558 GB, free: 6.449 MB / 0.4983 GB Notification: Performance of SimCode: time 3.71e-07/0.2051, allocations: 0 / 0.6558 GB, free: 6.449 MB / 0.4983 GB Notification: Performance of Templates: time 0.0035/0.2086, allocations: 0.8222 MB / 0.6566 GB, free: 5.637 MB / 0.4983 GB 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