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.001354/0.001354, allocations: 107.3 kB / 16.92 MB, free: 5.766 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.001498/0.001498, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.289/1.289, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.01/1.01, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.51, allocations: 80.68 MB / 0.5697 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002111/0.5121, allocations: 1.179 MB / 0.5709 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.5123, allocations: 25.23 kB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.5124, allocations: 1.531 kB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.216e-05/0.5124, allocations: 3.938 kB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.5125, allocations: 0 / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.5126, allocations: 6.953 kB / 0.5709 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.5127, allocations: 59.28 kB / 0.571 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.5128, allocations: 1.531 kB / 0.571 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.302e-05/0.5128, allocations: 27.64 kB / 0.571 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.5129, allocations: 24.05 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.5129, allocations: 2.75 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.513, allocations: 2.75 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.513, allocations: 20.11 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.513, allocations: 18.8 kB / 0.5711 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.815e-05/0.5131, allocations: 36.39 kB / 0.5711 GB, free: 42.31 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5131, allocations: 0 / 0.5711 GB, free: 42.31 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5131, allocations: 0 / 0.5711 GB, free: 42.31 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.5131, allocations: 0 / 0.5711 GB, free: 42.31 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.0004568/0.5136, allocations: 383.6 kB / 0.5715 GB, free: 41.92 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5136, allocations: 16.05 kB / 0.5715 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.5137, allocations: 5.062 kB / 0.5715 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.5138, allocations: 175.2 kB / 0.5717 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.5138, allocations: 5.75 kB / 0.5717 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.5139, allocations: 5.875 kB / 0.5717 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.514, allocations: 85.56 kB / 0.5717 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.514, allocations: 192 / 0.5718 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.514, allocations: 5.312 kB / 0.5718 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.514, allocations: 1.375 kB / 0.5718 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/0.5141, allocations: 36.77 kB / 0.5718 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.5145, allocations: 321.3 kB / 0.5721 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.5147, allocations: 121.5 kB / 0.5722 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.5148, allocations: 44.91 kB / 0.5723 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.5148, allocations: 5.125 kB / 0.5723 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.5148, allocations: 36.31 kB / 0.5723 GB, free: 41.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.5148, allocations: 0 / 0.5723 GB, free: 41.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.000282/0.5151, allocations: 137.1 kB / 0.5724 GB, free: 41.08 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.5152, allocations: 61.59 kB / 0.5725 GB, free: 41.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.5152, allocations: 94.3 kB / 0.5726 GB, free: 40.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.5153, allocations: 30.89 kB / 0.5726 GB, free: 40.88 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.5153, allocations: 93.25 kB / 0.5727 GB, free: 40.78 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.5153, allocations: 49.83 kB / 0.5727 GB, free: 40.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.5154, allocations: 30.28 kB / 0.5728 GB, free: 40.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.5155, allocations: 321.7 kB / 0.5731 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.5155, allocations: 65.39 kB / 0.5731 GB, free: 40.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.5156, allocations: 81.56 kB / 0.5732 GB, free: 40.32 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.5158, allocations: 148.2 kB / 0.5734 GB, free: 40.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5159, allocations: 1.219 kB / 0.5734 GB, free: 40.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002546/0.5161, allocations: 188.9 kB / 0.5735 GB, free: 40.14 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5161, allocations: 6.031 kB / 0.5735 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5161, allocations: 3.938 kB / 0.5735 GB, free: 40.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5162, allocations: 1.281 kB / 0.5736 GB, free: 40.13 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.5164, allocations: 51.47 kB / 0.5736 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5164, allocations: 1.375 kB / 0.5736 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.5164, allocations: 20.23 kB / 0.5736 GB, free: 40.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.5165, allocations: 8.062 kB / 0.5736 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 7.033e-05/0.5165, allocations: 118.1 kB / 0.5737 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.5166, allocations: 7.938 kB / 0.5737 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.5166, allocations: 11.97 kB / 0.5738 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5166, allocations: 1.938 kB / 0.5738 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5166, allocations: 0 / 0.5738 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.5166, allocations: 9.047 kB / 0.5738 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.5169, allocations: 194.5 kB / 0.574 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5169, allocations: 0 / 0.574 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.5171, allocations: 54.12 kB / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.5171, allocations: 384 / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.5172, allocations: 7.984 kB / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5172, allocations: 1.375 kB / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5172, allocations: 0 / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.5174, allocations: 269.1 kB / 0.5743 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.5175, allocations: 78.33 kB / 0.5743 GB, free: 39.43 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.5175, allocations: 3.969 kB / 0.5744 GB, free: 39.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.5176, allocations: 10.45 kB / 0.5744 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.5176, allocations: 7.656 kB / 0.5744 GB, free: 39.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5176, allocations: 18.48 kB / 0.5744 GB, free: 39.4 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.417e-05/0.5177, allocations: 77.66 kB / 0.5745 GB, free: 39.32 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5177, allocations: 1.344 kB / 0.5745 GB, free: 39.32 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002325/0.5179, allocations: 21.44 kB / 0.5745 GB, free: 39.32 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 9.134e-05/0.518, allocations: 104 kB / 0.5746 GB, free: 39.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.5182, allocations: 134.8 kB / 0.5747 GB, free: 39.17 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5183, allocations: 0 / 0.5747 GB, free: 39.17 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.892e-05/0.5183, allocations: 47 kB / 0.5748 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.0002129/0.5185, allocations: 1.344 kB / 0.5748 GB, free: 39.15 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.519, allocations: 337.8 kB / 0.5751 GB, free: 38.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.5192, allocations: 0.6945 MB / 0.5758 GB, free: 38.19 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.236e-05/0.5192, allocations: 34.02 kB / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.5193, allocations: 12.28 kB / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.5193, allocations: 1.281 kB / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of Templates: time 0.002767/0.5221, allocations: 0.7986 MB / 0.5766 GB, free: 37.77 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/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