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.001681/0.001681, allocations: 113.2 kB / 17.07 MB, free: 5.973 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.001902/0.001902, allocations: 194.8 kB / 18 MB, free: 5.059 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.52/1.52, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.307/1.307, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.48 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2092, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.003853/0.2131, allocations: 1.172 MB / 0.6508 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.2134, allocations: 19.91 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.2135, allocations: 4 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.2136, allocations: 7.984 kB / 0.6509 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.2137, allocations: 7.875 kB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.2138, allocations: 8 kB / 0.6509 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.214, allocations: 63.81 kB / 0.6509 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.382e-05/0.2141, allocations: 4 kB / 0.6509 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.2142, allocations: 19.97 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.2142, allocations: 23.97 kB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2143, allocations: 0 / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.657e-05/0.2143, allocations: 4 kB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.2144, allocations: 19.92 kB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.2144, allocations: 23.92 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2145, allocations: 39.77 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2146, allocations: 0 / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2146, allocations: 0 / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2146, 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.0008346/0.2154, allocations: 363.5 kB / 0.6514 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.2155, allocations: 16.03 kB / 0.6514 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.2155, allocations: 8.844 kB / 0.6514 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.2158, allocations: 172.3 kB / 0.6516 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2159, allocations: 4.375 kB / 0.6516 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.2159, allocations: 12.28 kB / 0.6516 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2161, allocations: 82.14 kB / 0.6517 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2161, allocations: 192 / 0.6517 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.2162, allocations: 3.938 kB / 0.6517 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2162, allocations: 7.984 kB / 0.6517 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.127e-05/0.2163, allocations: 35.91 kB / 0.6517 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.217, allocations: 320.8 kB / 0.6521 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.2172, allocations: 126.4 kB / 0.6522 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.2173, allocations: 36.84 kB / 0.6522 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2174, allocations: 0 / 0.6522 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2174, allocations: 30.56 kB / 0.6522 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.2174, allocations: 4 kB / 0.6522 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0004267/0.2178, allocations: 145.7 kB / 0.6524 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.2179, allocations: 59.39 kB / 0.6524 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.218, allocations: 97.86 kB / 0.6525 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/0.2181, allocations: 25.7 kB / 0.6526 GB, free: 9.938 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.2182, allocations: 88.08 kB / 0.6526 GB, free: 9.848 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.2183, allocations: 47.34 kB / 0.6527 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.2183, allocations: 33.72 kB / 0.6527 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.2186, allocations: 326.8 kB / 0.653 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.2187, allocations: 67.83 kB / 0.6531 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.2189, allocations: 83.53 kB / 0.6532 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.2191, allocations: 133.6 kB / 0.6533 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2191, allocations: 0 / 0.6533 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004037/0.2196, allocations: 196 kB / 0.6535 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2196, allocations: 8 kB / 0.6535 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2196, allocations: 4.031 kB / 0.6535 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2196, allocations: 0 / 0.6535 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.2199, allocations: 59.91 kB / 0.6536 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.22, allocations: 0 / 0.6536 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.22, allocations: 15.78 kB / 0.6536 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.2201, allocations: 8 kB / 0.6536 GB, free: 8.855 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.0001322/0.2202, allocations: 122.7 kB / 0.6537 GB, free: 8.727 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.2203, allocations: 3.906 kB / 0.6537 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.2203, allocations: 16.08 kB / 0.6537 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2203, allocations: 7.938 kB / 0.6537 GB, free: 8.695 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2203, allocations: 4 kB / 0.6537 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2203, allocations: 3.938 kB / 0.6537 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.2208, allocations: 193.7 kB / 0.6539 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2208, allocations: 0 / 0.6539 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.2212, allocations: 55.91 kB / 0.654 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2212, allocations: 0 / 0.654 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.2213, allocations: 8 kB / 0.654 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2213, allocations: 0 / 0.654 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2213, allocations: 0 / 0.654 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.2217, allocations: 259.5 kB / 0.6542 GB, free: 8.117 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.2218, allocations: 88.94 kB / 0.6543 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.2218, allocations: 4 kB / 0.6543 GB, free: 8.008 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2219, allocations: 11.98 kB / 0.6543 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.222, allocations: 4 kB / 0.6543 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.222, allocations: 3.938 kB / 0.6543 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.852e-05/0.2221, allocations: 87.27 kB / 0.6544 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2221, allocations: 4 kB / 0.6544 GB, free: 7.898 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003758/0.2225, allocations: 24 kB / 0.6544 GB, free: 7.875 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.0001909/0.2227, allocations: 103.8 kB / 0.6545 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.223, allocations: 123.9 kB / 0.6547 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.223, allocations: 0 / 0.6547 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.06e-05/0.2231, allocations: 39.97 kB / 0.6547 GB, free: 7.605 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2234, allocations: 11.94 kB / 0.6547 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/0.2241, allocations: 320.4 kB / 0.655 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.2245, allocations: 0.7039 MB / 0.6557 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.2247, allocations: 36.52 kB / 0.6557 GB, free: 6.488 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.2247, allocations: 15.44 kB / 0.6558 GB, free: 6.473 MB / 0.4983 GB Notification: Performance of SimCode: time 2.91e-07/0.2247, allocations: 0 / 0.6558 GB, free: 6.473 MB / 0.4983 GB Notification: Performance of Templates: time 0.004263/0.229, allocations: 0.8247 MB / 0.6566 GB, free: 5.656 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