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: 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_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_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.001172/0.001172, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.001219/0.001219, allocations: 187.1 kB / 18.62 MB, free: 4.578 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.425/1.425, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.038/1.038, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 62.48 kB / 0.5715 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1963, allocations: 80.7 MB / 0.6503 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002722/0.1991, allocations: 1.172 MB / 0.6514 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002104/0.1993, allocations: 23.91 kB / 0.6515 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.1994, allocations: 0 / 0.6515 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1995, allocations: 7.938 kB / 0.6515 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.378e-05/0.1996, allocations: 3.984 kB / 0.6515 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.1997, allocations: 11.94 kB / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1999, allocations: 59.86 kB / 0.6515 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.907e-05/0.1999, allocations: 4 kB / 0.6515 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.363e-05/0.2, allocations: 19.98 kB / 0.6516 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.2, allocations: 15.98 kB / 0.6516 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.2001, allocations: 4 kB / 0.6516 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.2001, allocations: 0 / 0.6516 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.2001, allocations: 23.91 kB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.2002, allocations: 23.86 kB / 0.6516 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.94e-05/0.2003, allocations: 43.77 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2003, allocations: 4 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2003, allocations: 0 / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2003, allocations: 0 / 0.6517 GB, free: 11.68 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.0006021/0.2009, allocations: 363.5 kB / 0.652 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.201, allocations: 11.89 kB / 0.652 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.201, allocations: 12.84 kB / 0.652 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.2012, allocations: 180.3 kB / 0.6522 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2012, allocations: 4.375 kB / 0.6522 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.2013, allocations: 8.281 kB / 0.6522 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.2014, allocations: 82.19 kB / 0.6523 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2015, allocations: 192 / 0.6523 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2015, allocations: 7.938 kB / 0.6523 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2015, allocations: 3.938 kB / 0.6523 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.2016, allocations: 35.91 kB / 0.6523 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.2021, allocations: 312.9 kB / 0.6526 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.2023, allocations: 126.5 kB / 0.6528 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.2024, allocations: 40.83 kB / 0.6528 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.2024, allocations: 0 / 0.6528 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.2025, allocations: 34.56 kB / 0.6528 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.2025, allocations: 7.938 kB / 0.6528 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0003182/0.2028, allocations: 141.7 kB / 0.653 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.2029, allocations: 51.41 kB / 0.653 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.203, allocations: 101.8 kB / 0.6531 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.203, allocations: 33.7 kB / 0.6532 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.2031, allocations: 84.08 kB / 0.6532 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.2031, allocations: 43.36 kB / 0.6533 GB, free: 9.828 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.2032, allocations: 37.7 kB / 0.6533 GB, free: 9.785 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2033, allocations: 318.8 kB / 0.6536 GB, free: 9.465 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.2034, allocations: 71.89 kB / 0.6537 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2036, allocations: 80.11 kB / 0.6538 GB, free: 9.312 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.2038, allocations: 148.1 kB / 0.6539 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2038, allocations: 0 / 0.6539 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002748/0.2041, allocations: 193.5 kB / 0.6541 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2041, allocations: 4 kB / 0.6541 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2041, allocations: 0 / 0.6541 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2041, allocations: 4.031 kB / 0.6541 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.2043, allocations: 51.97 kB / 0.6541 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2044, allocations: 0 / 0.6541 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.2044, allocations: 23.78 kB / 0.6542 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.2044, allocations: 4 kB / 0.6542 GB, free: 8.883 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.0001125/0.2046, allocations: 122.6 kB / 0.6543 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.2046, allocations: 7.906 kB / 0.6543 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.2046, allocations: 12.08 kB / 0.6543 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2046, allocations: 7.938 kB / 0.6543 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.2047, allocations: 0 / 0.6543 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2047, allocations: 3.938 kB / 0.6543 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.205, allocations: 197.7 kB / 0.6545 GB, free: 8.477 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.205, allocations: 4 kB / 0.6545 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.2052, allocations: 51.97 kB / 0.6546 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2052, allocations: 0 / 0.6546 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2053, allocations: 7.938 kB / 0.6546 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2053, allocations: 0 / 0.6546 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2053, allocations: 4.375 kB / 0.6546 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.2056, allocations: 255.2 kB / 0.6548 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.2057, allocations: 92.95 kB / 0.6549 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2057, allocations: 3.984 kB / 0.6549 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.2058, allocations: 4 kB / 0.6549 GB, free: 8.027 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.2058, allocations: 7.984 kB / 0.6549 GB, free: 8.02 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2058, allocations: 7.938 kB / 0.6549 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.2059, allocations: 83.45 kB / 0.655 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2059, allocations: 0 / 0.655 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002475/0.2061, allocations: 28 kB / 0.655 GB, free: 7.902 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.0001153/0.2062, allocations: 103.7 kB / 0.6551 GB, free: 7.793 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.2065, allocations: 124 kB / 0.6553 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2065, allocations: 3.938 kB / 0.6553 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/0.2066, allocations: 39.98 kB / 0.6553 GB, free: 7.629 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.2068, allocations: 4.141 kB / 0.6553 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.2074, allocations: 369.7 kB / 0.6557 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.2077, allocations: 0.7039 MB / 0.6563 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.2078, allocations: 11.44 kB / 0.6564 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of SimCode: time 6.21e-07/0.2078, allocations: 0 / 0.6564 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of Templates: time 0.002925/0.2107, allocations: 1.196 MB / 0.6575 GB, free: 5.297 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches