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.001103/0.001103, allocations: 115.4 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.001537/0.001537, allocations: 194.8 kB / 18 MB, free: 5.07 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.446/1.446, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.089/1.089, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 66.45 kB / 0.5709 GB, free: 40 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2033, allocations: 80.68 MB / 0.6497 GB, free: 13.22 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.003162/0.2065, allocations: 1.176 MB / 0.6508 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.2067, allocations: 27.89 kB / 0.6508 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.2068, allocations: 0 / 0.6508 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.2069, allocations: 3.938 kB / 0.6509 GB, free: 12 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.207, allocations: 4 kB / 0.6509 GB, free: 12 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.2072, allocations: 15.98 kB / 0.6509 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.2074, allocations: 63.81 kB / 0.6509 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.2074, allocations: 0 / 0.6509 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.2075, allocations: 19.98 kB / 0.651 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.398e-05/0.2076, allocations: 23.95 kB / 0.651 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.2076, allocations: 4 kB / 0.651 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.2076, allocations: 0 / 0.651 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.2077, allocations: 19.92 kB / 0.651 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.2077, allocations: 19.92 kB / 0.651 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.2079, allocations: 39.77 kB / 0.6511 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2079, allocations: 0 / 0.6511 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2079, allocations: 4 kB / 0.6511 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2079, allocations: 0 / 0.6511 GB, free: 11.79 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.0007011/0.2086, allocations: 367.5 kB / 0.6514 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.2087, allocations: 11.89 kB / 0.6514 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.2087, allocations: 8.844 kB / 0.6514 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.209, allocations: 180.2 kB / 0.6516 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.209, allocations: 4.375 kB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.209, allocations: 16.27 kB / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.2093, allocations: 78.2 kB / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2093, allocations: 192 / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.2093, allocations: 7.938 kB / 0.6517 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2094, allocations: 0 / 0.6517 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.2094, allocations: 35.92 kB / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.2101, allocations: 316.8 kB / 0.652 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.2104, allocations: 130.4 kB / 0.6522 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.2104, allocations: 36.84 kB / 0.6522 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2104, allocations: 0 / 0.6522 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2105, allocations: 42.72 kB / 0.6522 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.2105, allocations: 0 / 0.6522 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0003488/0.2108, allocations: 145.5 kB / 0.6524 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.2109, allocations: 51.41 kB / 0.6524 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.211, allocations: 105.8 kB / 0.6525 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2111, allocations: 29.7 kB / 0.6526 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.2111, allocations: 84.08 kB / 0.6526 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.2112, allocations: 47.42 kB / 0.6527 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.2113, allocations: 41.7 kB / 0.6527 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2114, allocations: 314.8 kB / 0.653 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.2115, allocations: 67.89 kB / 0.6531 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.2116, allocations: 87.91 kB / 0.6532 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.2118, allocations: 137.5 kB / 0.6533 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2118, allocations: 0 / 0.6533 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002994/0.2122, allocations: 196.3 kB / 0.6535 GB, free: 9.07 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2122, allocations: 7.125 kB / 0.6535 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2122, allocations: 0 / 0.6535 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.2122, allocations: 0 / 0.6535 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.2124, allocations: 55.91 kB / 0.6535 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2125, allocations: 4.031 kB / 0.6536 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.2125, allocations: 27.77 kB / 0.6536 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.2125, allocations: 4 kB / 0.6536 GB, free: 8.977 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.0001159/0.2127, allocations: 118.7 kB / 0.6537 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.2127, allocations: 7.906 kB / 0.6537 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.2127, allocations: 16.06 kB / 0.6537 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2128, allocations: 3.938 kB / 0.6537 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2128, allocations: 0 / 0.6537 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2128, allocations: 3.938 kB / 0.6537 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.2132, allocations: 193.6 kB / 0.6539 GB, free: 8.578 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2132, allocations: 0 / 0.6539 GB, free: 8.578 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.2135, allocations: 47.97 kB / 0.654 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2135, allocations: 0 / 0.654 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.2135, allocations: 11.98 kB / 0.654 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2135, allocations: 384 / 0.654 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2135, allocations: 4 kB / 0.654 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.2139, allocations: 251.2 kB / 0.6542 GB, free: 8.254 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.214, allocations: 92.95 kB / 0.6543 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.214, allocations: 4 kB / 0.6543 GB, free: 8.141 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.2141, allocations: 8.078 kB / 0.6543 GB, free: 8.133 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.2141, allocations: 11.92 kB / 0.6543 GB, free: 8.121 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2141, allocations: 7.938 kB / 0.6543 GB, free: 8.113 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.2142, allocations: 83.28 kB / 0.6544 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2142, allocations: 0 / 0.6544 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002525/0.2145, allocations: 24 kB / 0.6544 GB, free: 8.008 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.0001325/0.2146, allocations: 107.7 kB / 0.6545 GB, free: 7.895 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.2149, allocations: 119.9 kB / 0.6546 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2149, allocations: 0 / 0.6546 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.215, allocations: 47.91 kB / 0.6547 GB, free: 7.73 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2152, allocations: 4 kB / 0.6547 GB, free: 7.727 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.2158, allocations: 332 kB / 0.655 GB, free: 7.379 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.2162, allocations: 0.7 MB / 0.6557 GB, free: 6.652 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 9.002e-05/0.2163, allocations: 36.52 kB / 0.6557 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.2163, allocations: 11.44 kB / 0.6557 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of SimCode: time 2.5e-07/0.2163, allocations: 0 / 0.6557 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of Templates: time 0.003605/0.22, allocations: 0.8307 MB / 0.6566 GB, free: 5.781 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches