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.001017/0.001017, allocations: 108.4 kB / 17.06 MB, free: 5.82 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.0009666/0.0009667, allocations: 195 kB / 18 MB, free: 4.965 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.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.989/0.989, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 61.81 kB / 0.5709 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1876, allocations: 80.7 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002864/0.1905, allocations: 1.18 MB / 0.6508 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000205/0.1907, allocations: 27.89 kB / 0.6509 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.1908, allocations: 0 / 0.6509 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.955e-05/0.1909, allocations: 7.938 kB / 0.6509 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.191, allocations: 3.938 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.1911, allocations: 3.984 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1913, allocations: 55.94 kB / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.1913, allocations: 7.984 kB / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.1914, allocations: 19.94 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.1914, allocations: 23.91 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1915, allocations: 4 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.1915, allocations: 0 / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.1915, allocations: 19.97 kB / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.1916, allocations: 27.86 kB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.772e-05/0.1917, allocations: 35.84 kB / 0.6511 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1917, allocations: 0 / 0.6511 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.326e-06/0.1917, allocations: 3.984 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1917, allocations: 0 / 0.6511 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.0006198/0.1924, allocations: 371.4 kB / 0.6514 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1924, allocations: 11.89 kB / 0.6514 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.1924, allocations: 12.89 kB / 0.6514 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1927, allocations: 180.3 kB / 0.6516 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1927, allocations: 4.375 kB / 0.6516 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.1927, allocations: 8.328 kB / 0.6516 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1929, allocations: 82.14 kB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1929, allocations: 4.125 kB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1929, allocations: 3.938 kB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1929, allocations: 4 kB / 0.6517 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.439e-05/0.193, allocations: 35.91 kB / 0.6517 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.1935, allocations: 312.9 kB / 0.652 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1937, allocations: 126.4 kB / 0.6522 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.078e-05/0.1938, allocations: 40.83 kB / 0.6522 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1938, allocations: 0 / 0.6522 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.1939, allocations: 34.56 kB / 0.6522 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1939, allocations: 4 kB / 0.6522 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0002886/0.1942, allocations: 141.8 kB / 0.6524 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1942, allocations: 55.41 kB / 0.6524 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.1943, allocations: 97.84 kB / 0.6525 GB, free: 9.992 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1943, allocations: 33.7 kB / 0.6526 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.1944, allocations: 84.08 kB / 0.6526 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.1944, allocations: 47.59 kB / 0.6527 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.1945, allocations: 37.7 kB / 0.6527 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1946, allocations: 322.8 kB / 0.653 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.912e-05/0.1947, allocations: 67.89 kB / 0.6531 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1949, allocations: 84.05 kB / 0.6532 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.195, allocations: 137.6 kB / 0.6533 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.195, allocations: 0 / 0.6533 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002564/0.1953, allocations: 196.2 kB / 0.6535 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1953, allocations: 8 kB / 0.6535 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1953, allocations: 4.031 kB / 0.6535 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1954, allocations: 4 kB / 0.6535 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1956, allocations: 51.97 kB / 0.6536 GB, free: 8.898 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1956, allocations: 3.938 kB / 0.6536 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.1957, allocations: 24.31 kB / 0.6536 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1957, allocations: 11.92 kB / 0.6536 GB, free: 8.859 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 8.733e-05/0.1958, allocations: 118.7 kB / 0.6537 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1958, allocations: 7.953 kB / 0.6537 GB, free: 8.727 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.1958, allocations: 15.91 kB / 0.6537 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1959, allocations: 4 kB / 0.6537 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1959, allocations: 0 / 0.6537 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1959, allocations: 4.125 kB / 0.6537 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.1961, allocations: 193.7 kB / 0.6539 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1961, allocations: 3.984 kB / 0.6539 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.1964, allocations: 55.91 kB / 0.654 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1964, allocations: 0 / 0.654 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1965, allocations: 7.984 kB / 0.654 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1965, allocations: 0 / 0.654 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1965, allocations: 4 kB / 0.654 GB, free: 8.391 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.1968, allocations: 255.3 kB / 0.6542 GB, free: 8.125 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.1968, allocations: 81.05 kB / 0.6543 GB, free: 8.027 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1969, allocations: 7.984 kB / 0.6543 GB, free: 8.02 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.197, allocations: 4 kB / 0.6543 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.197, allocations: 7.984 kB / 0.6543 GB, free: 8.008 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.197, allocations: 7.938 kB / 0.6543 GB, free: 8 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.1971, allocations: 79.28 kB / 0.6544 GB, free: 7.922 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1971, allocations: 4 kB / 0.6544 GB, free: 7.918 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002489/0.1973, allocations: 24 kB / 0.6544 GB, free: 7.895 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.0001126/0.1974, allocations: 103.8 kB / 0.6545 GB, free: 7.785 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1977, allocations: 127.8 kB / 0.6547 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1977, allocations: 0 / 0.6547 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.093e-05/0.1978, allocations: 39.98 kB / 0.6547 GB, free: 7.621 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.198, allocations: 4 kB / 0.6547 GB, free: 7.617 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.1986, allocations: 343.9 kB / 0.655 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1989, allocations: 0.7039 MB / 0.6557 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 8.731e-05/0.199, allocations: 40.52 kB / 0.6558 GB, free: 6.484 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.199, allocations: 11.44 kB / 0.6558 GB, free: 6.473 MB / 0.4983 GB Notification: Performance of SimCode: time 2.61e-07/0.199, allocations: 3.938 kB / 0.6558 GB, free: 6.469 MB / 0.4983 GB Notification: Performance of Templates: time 0.003193/0.2022, allocations: 0.8185 MB / 0.6566 GB, free: 5.652 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches