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.001724/0.001724, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.002027/0.002027, allocations: 191.3 kB / 18.52 MB, free: 4.52 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.415/1.415, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.047/1.047, allocations: 119.3 MB / 411.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 59.91 kB / 0.4916 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.491, allocations: 80.69 MB / 0.5704 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002018/0.4931, allocations: 1.178 MB / 0.5715 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.4932, allocations: 24.55 kB / 0.5716 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.4933, allocations: 1.219 kB / 0.5716 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.338e-05/0.4934, allocations: 3.938 kB / 0.5716 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/0.4934, allocations: 7.984 kB / 0.5716 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.4936, allocations: 1.969 kB / 0.5716 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.4937, allocations: 59.88 kB / 0.5716 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.4938, allocations: 2.594 kB / 0.5716 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.4938, allocations: 26.75 kB / 0.5717 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.4939, allocations: 16.73 kB / 0.5717 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.4939, allocations: 3.188 kB / 0.5717 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.528e-05/0.4939, allocations: 2.938 kB / 0.5717 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.4939, allocations: 18.88 kB / 0.5717 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.494, allocations: 22.89 kB / 0.5717 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.411e-05/0.4941, allocations: 36.45 kB / 0.5718 GB, free: 42.3 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4941, allocations: 0 / 0.5718 GB, free: 42.3 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4941, allocations: 0 / 0.5718 GB, free: 42.3 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.4941, allocations: 1.312 kB / 0.5718 GB, free: 42.3 MB / 462.3 MB 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.0004798/0.4946, allocations: 385.7 kB / 0.5721 GB, free: 41.91 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4946, allocations: 13.67 kB / 0.5721 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.4947, allocations: 8 kB / 0.5722 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.4948, allocations: 178.8 kB / 0.5723 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4948, allocations: 2.031 kB / 0.5723 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.4949, allocations: 10.28 kB / 0.5723 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.495, allocations: 77.08 kB / 0.5724 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.495, allocations: 1.75 kB / 0.5724 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4951, allocations: 3.938 kB / 0.5724 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4951, allocations: 1.344 kB / 0.5724 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.035e-05/0.4951, allocations: 33.38 kB / 0.5724 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.4956, allocations: 328.6 kB / 0.5728 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.4958, allocations: 123 kB / 0.5729 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.4958, allocations: 38.7 kB / 0.5729 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.4958, allocations: 1.375 kB / 0.5729 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.4959, allocations: 36.16 kB / 0.573 GB, free: 41.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.4959, allocations: 0 / 0.573 GB, free: 41.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002607/0.4961, allocations: 142 kB / 0.5731 GB, free: 41.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.4962, allocations: 52.95 kB / 0.5731 GB, free: 41.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.357e-05/0.4962, allocations: 108.4 kB / 0.5732 GB, free: 40.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.4962, allocations: 25.7 kB / 0.5733 GB, free: 40.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.4963, allocations: 89.55 kB / 0.5734 GB, free: 40.78 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.4963, allocations: 48.34 kB / 0.5734 GB, free: 40.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.4964, allocations: 31.25 kB / 0.5734 GB, free: 40.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.4964, allocations: 321.5 kB / 0.5737 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.4965, allocations: 70.45 kB / 0.5738 GB, free: 40.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.4966, allocations: 76.42 kB / 0.5739 GB, free: 40.32 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.4968, allocations: 146.2 kB / 0.574 GB, free: 40.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4968, allocations: 0 / 0.574 GB, free: 40.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002382/0.497, allocations: 196.3 kB / 0.5742 GB, free: 40.13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.497, allocations: 5.188 kB / 0.5742 GB, free: 40.13 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.497, allocations: 0 / 0.5742 GB, free: 40.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4971, allocations: 6.781 kB / 0.5742 GB, free: 40.13 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.4973, allocations: 53.84 kB / 0.5743 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4973, allocations: 1.188 kB / 0.5743 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.4973, allocations: 17.22 kB / 0.5743 GB, free: 40.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4974, allocations: 3.406 kB / 0.5743 GB, free: 40.11 MB / 462.3 MB 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 5.994e-05/0.4974, allocations: 122.3 kB / 0.5744 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.4975, allocations: 7.625 kB / 0.5744 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.4975, allocations: 13.59 kB / 0.5744 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4975, allocations: 7.984 kB / 0.5744 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4975, allocations: 1.875 kB / 0.5744 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4975, allocations: 3.938 kB / 0.5744 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.4977, allocations: 198.7 kB / 0.5746 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4977, allocations: 0 / 0.5746 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.498, allocations: 53.53 kB / 0.5747 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.498, allocations: 1.312 kB / 0.5747 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4981, allocations: 4.031 kB / 0.5747 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4981, allocations: 4 kB / 0.5747 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4981, allocations: 0 / 0.5747 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.4983, allocations: 257.7 kB / 0.5749 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.4983, allocations: 82.59 kB / 0.575 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.4984, allocations: 8.344 kB / 0.575 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.4985, allocations: 5.438 kB / 0.575 GB, free: 39.41 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.4985, allocations: 8.328 kB / 0.575 GB, free: 39.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.4985, allocations: 9.25 kB / 0.575 GB, free: 39.4 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.349e-05/0.4985, allocations: 87.55 kB / 0.5751 GB, free: 39.32 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4985, allocations: 0 / 0.5751 GB, free: 39.32 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002388/0.4988, allocations: 25.59 kB / 0.5751 GB, free: 39.31 MB / 462.3 MB 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 7.267e-05/0.4989, allocations: 99.69 kB / 0.5752 GB, free: 39.22 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.4991, allocations: 131.1 kB / 0.5754 GB, free: 39.17 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4991, allocations: 5.469 kB / 0.5754 GB, free: 39.17 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.4992, allocations: 45.34 kB / 0.5754 GB, free: 39.15 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.4994, allocations: 6.25 kB / 0.5754 GB, free: 39.14 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.4998, allocations: 355.8 kB / 0.5758 GB, free: 38.86 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.5, allocations: 0.6983 MB / 0.5764 GB, free: 38.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.5, allocations: 13.84 kB / 0.5765 GB, free: 38.15 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.5, allocations: 4 kB / 0.5765 GB, free: 38.15 MB / 462.3 MB Notification: Performance of Templates: time 0.002468/0.5025, allocations: 1.193 MB / 0.5776 GB, free: 37.54 MB / 462.3 MB 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