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.001427/0.001427, allocations: 114.3 kB / 17.68 MB, free: 5.473 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.001551/0.001551, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.274/1.274, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9467/0.9467, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 55.91 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4671, allocations: 80.68 MB / 0.5711 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002128/0.4693, allocations: 1.169 MB / 0.5723 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.4694, allocations: 29.61 kB / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.4695, allocations: 1.281 kB / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.333e-05/0.4695, allocations: 0 / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.329e-05/0.4696, allocations: 3.938 kB / 0.5723 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.4697, allocations: 10.84 kB / 0.5723 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.4699, allocations: 62.83 kB / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.4699, allocations: 2.688 kB / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.47, allocations: 14.92 kB / 0.5724 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.47, allocations: 28.31 kB / 0.5724 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.47, allocations: 3.75 kB / 0.5724 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.4701, allocations: 2.594 kB / 0.5724 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.4701, allocations: 19.22 kB / 0.5725 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.4702, allocations: 18.88 kB / 0.5725 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.433e-05/0.4702, allocations: 40.31 kB / 0.5725 GB, free: 42.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4702, allocations: 0 / 0.5725 GB, free: 42.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4702, allocations: 4 kB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.4703, allocations: 1.281 kB / 0.5725 GB, free: 42.39 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.0004677/0.4707, allocations: 375.7 kB / 0.5729 GB, free: 42.01 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4708, allocations: 13.95 kB / 0.5729 GB, free: 42.01 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.4708, allocations: 4.031 kB / 0.5729 GB, free: 42.01 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.4709, allocations: 184.8 kB / 0.5731 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.471, allocations: 11.03 kB / 0.5731 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.471, allocations: 8.594 kB / 0.5731 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4711, allocations: 86 kB / 0.5732 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4711, allocations: 192 / 0.5732 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4712, allocations: 5 kB / 0.5732 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4712, allocations: 0.875 kB / 0.5732 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.939e-05/0.4712, allocations: 33.16 kB / 0.5732 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.4717, allocations: 322 kB / 0.5735 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.4718, allocations: 126 kB / 0.5736 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.4719, allocations: 39.84 kB / 0.5737 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.4719, allocations: 0 / 0.5737 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.4719, allocations: 31.94 kB / 0.5737 GB, free: 41.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.4719, allocations: 0 / 0.5737 GB, free: 41.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002622/0.4722, allocations: 142.9 kB / 0.5738 GB, free: 41.17 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.4722, allocations: 52.38 kB / 0.5739 GB, free: 41.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.646e-05/0.4723, allocations: 107.2 kB / 0.574 GB, free: 41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.4723, allocations: 27.2 kB / 0.574 GB, free: 40.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.4723, allocations: 85.22 kB / 0.5741 GB, free: 40.88 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.4724, allocations: 53.09 kB / 0.5742 GB, free: 40.83 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.4724, allocations: 35.31 kB / 0.5742 GB, free: 40.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.4725, allocations: 325.2 kB / 0.5745 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.4726, allocations: 65.7 kB / 0.5746 GB, free: 40.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.4727, allocations: 84.66 kB / 0.5746 GB, free: 40.4 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4728, allocations: 137.4 kB / 0.5748 GB, free: 40.33 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4728, allocations: 0 / 0.5748 GB, free: 40.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002299/0.4731, allocations: 193.5 kB / 0.575 GB, free: 40.23 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4731, allocations: 5.656 kB / 0.575 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4731, allocations: 0 / 0.575 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4731, allocations: 1.312 kB / 0.575 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.4733, allocations: 59.03 kB / 0.575 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4733, allocations: 5.531 kB / 0.575 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.4734, allocations: 11.69 kB / 0.575 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4734, allocations: 9.375 kB / 0.575 GB, free: 40.2 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.564e-05/0.4735, allocations: 117.9 kB / 0.5752 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.4735, allocations: 8.062 kB / 0.5752 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.4735, allocations: 11.97 kB / 0.5752 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4735, allocations: 5.25 kB / 0.5752 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4735, allocations: 0 / 0.5752 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4735, allocations: 5.062 kB / 0.5752 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.4738, allocations: 203.1 kB / 0.5754 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4738, allocations: 0 / 0.5754 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.474, allocations: 48.91 kB / 0.5754 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.474, allocations: 1.188 kB / 0.5754 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4741, allocations: 8.219 kB / 0.5754 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4741, allocations: 0 / 0.5754 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4741, allocations: 1.125 kB / 0.5754 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.4743, allocations: 256.5 kB / 0.5757 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.4743, allocations: 83.5 kB / 0.5758 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4744, allocations: 6.656 kB / 0.5758 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.4744, allocations: 10.77 kB / 0.5758 GB, free: 39.51 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.4745, allocations: 2.719 kB / 0.5758 GB, free: 39.51 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.4745, allocations: 6.688 kB / 0.5758 GB, free: 39.5 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.302e-05/0.4745, allocations: 88.11 kB / 0.5759 GB, free: 39.42 MB / 462.3 MB Notification: Performance of sort global known variables: time 7.01e-07/0.4745, allocations: 0 / 0.5759 GB, free: 39.42 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002391/0.4748, allocations: 22.09 kB / 0.5759 GB, free: 39.42 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.521e-05/0.4748, allocations: 114.8 kB / 0.576 GB, free: 39.31 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.475, allocations: 124.9 kB / 0.5761 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4751, allocations: 1 kB / 0.5761 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.4751, allocations: 45.22 kB / 0.5762 GB, free: 39.24 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.4753, allocations: 7.562 kB / 0.5762 GB, free: 39.24 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.4757, allocations: 325.4 kB / 0.5765 GB, free: 38.99 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.4759, allocations: 0.6989 MB / 0.5772 GB, free: 38.29 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.297e-05/0.476, allocations: 34.02 kB / 0.5772 GB, free: 38.27 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.476, allocations: 12.97 kB / 0.5772 GB, free: 38.27 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.476, allocations: 0 / 0.5772 GB, free: 38.27 MB / 462.3 MB Notification: Performance of Templates: time 0.002683/0.4787, allocations: 0.7955 MB / 0.578 GB, free: 37.87 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 -s gbode -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