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.001243/0.001243, allocations: 109 kB / 17.28 MB, free: 6.059 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.001104/0.001104, allocations: 198 kB / 18.21 MB, free: 5.145 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.335/1.335, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.973/0.973, allocations: 119.3 MB / 411.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 0.4911 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5144, allocations: 80.68 MB / 0.5699 GB, free: 43.65 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001919/0.5164, allocations: 1.24 MB / 0.5711 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.5166, allocations: 29.52 kB / 0.5711 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.5166, allocations: 0 / 0.5711 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.529e-05/0.5167, allocations: 0 / 0.5711 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.5167, allocations: 5 kB / 0.5711 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.5169, allocations: 10.25 kB / 0.5711 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.074e-05/0.5169, allocations: 55.77 kB / 0.5712 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.517, allocations: 4.969 kB / 0.5712 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.517, allocations: 19.52 kB / 0.5712 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.5171, allocations: 33.42 kB / 0.5712 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.5171, allocations: 2.219 kB / 0.5712 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.5171, allocations: 3.344 kB / 0.5712 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.5172, allocations: 14.67 kB / 0.5713 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.5172, allocations: 23.73 kB / 0.5713 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.193e-05/0.5173, allocations: 24.02 kB / 0.5713 GB, free: 42.54 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5173, allocations: 1.094 kB / 0.5713 GB, free: 42.54 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5173, allocations: 4 kB / 0.5713 GB, free: 42.54 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.5173, allocations: 0 / 0.5713 GB, free: 42.54 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.0004201/0.5177, allocations: 378.9 kB / 0.5717 GB, free: 42.15 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5178, allocations: 13.61 kB / 0.5717 GB, free: 42.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.5178, allocations: 3.312 kB / 0.5717 GB, free: 42.15 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.5179, allocations: 176.2 kB / 0.5718 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5179, allocations: 2.844 kB / 0.5719 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.518, allocations: 12.19 kB / 0.5719 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.5181, allocations: 82.36 kB / 0.5719 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.5181, allocations: 192 / 0.5719 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5181, allocations: 9.531 kB / 0.572 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5182, allocations: 1.594 kB / 0.572 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.5182, allocations: 32.47 kB / 0.572 GB, free: 41.85 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.5186, allocations: 317.5 kB / 0.5723 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.5188, allocations: 125.3 kB / 0.5724 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.5188, allocations: 44.02 kB / 0.5724 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.5189, allocations: 1.281 kB / 0.5724 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.08e-05/0.5189, allocations: 31.88 kB / 0.5725 GB, free: 41.4 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.5189, allocations: 0 / 0.5725 GB, free: 41.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002395/0.5191, allocations: 146.7 kB / 0.5726 GB, free: 41.32 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.5192, allocations: 52.53 kB / 0.5727 GB, free: 41.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.427e-05/0.5192, allocations: 107.2 kB / 0.5728 GB, free: 41.14 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.036e-06/0.5192, allocations: 26.73 kB / 0.5728 GB, free: 41.11 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.5192, allocations: 85.14 kB / 0.5729 GB, free: 41.03 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.5193, allocations: 53 kB / 0.5729 GB, free: 40.98 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.5193, allocations: 34.66 kB / 0.573 GB, free: 40.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.5194, allocations: 321.7 kB / 0.5733 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.5195, allocations: 62.3 kB / 0.5733 GB, free: 40.61 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.5195, allocations: 89.2 kB / 0.5734 GB, free: 40.55 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.5197, allocations: 138.3 kB / 0.5735 GB, free: 40.48 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5197, allocations: 3.938 kB / 0.5735 GB, free: 40.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002239/0.5199, allocations: 196.7 kB / 0.5737 GB, free: 40.37 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.52, allocations: 6.781 kB / 0.5737 GB, free: 40.37 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.52, allocations: 1.156 kB / 0.5737 GB, free: 40.37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.52, allocations: 0.9688 kB / 0.5737 GB, free: 40.37 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.5202, allocations: 55.75 kB / 0.5738 GB, free: 40.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5202, allocations: 9.062 kB / 0.5738 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.5202, allocations: 11.84 kB / 0.5738 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.5203, allocations: 12.41 kB / 0.5738 GB, free: 40.34 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.409e-05/0.5203, allocations: 119 kB / 0.5739 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.5203, allocations: 6.969 kB / 0.574 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.5204, allocations: 13.72 kB / 0.574 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.5204, allocations: 0 / 0.574 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5204, allocations: 1.625 kB / 0.574 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5204, allocations: 3.938 kB / 0.574 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.5206, allocations: 197.8 kB / 0.5742 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5206, allocations: 1.281 kB / 0.5742 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.5209, allocations: 53.91 kB / 0.5742 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5209, allocations: 0 / 0.5742 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.5209, allocations: 7.938 kB / 0.5742 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5209, allocations: 0 / 0.5742 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5209, allocations: 1.625 kB / 0.5742 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.5211, allocations: 252.2 kB / 0.5745 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.5212, allocations: 87.81 kB / 0.5745 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.5212, allocations: 2.781 kB / 0.5745 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.5213, allocations: 10.47 kB / 0.5746 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.5213, allocations: 8.109 kB / 0.5746 GB, free: 39.65 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.5213, allocations: 5.562 kB / 0.5746 GB, free: 39.65 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.984e-05/0.5213, allocations: 82.48 kB / 0.5746 GB, free: 39.57 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.5213, allocations: 0 / 0.5746 GB, free: 39.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002292/0.5216, allocations: 22.81 kB / 0.5747 GB, free: 39.57 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 6.836e-05/0.5217, allocations: 110.5 kB / 0.5748 GB, free: 39.46 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.5219, allocations: 136.3 kB / 0.5749 GB, free: 39.41 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5219, allocations: 0 / 0.5749 GB, free: 39.41 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.5219, allocations: 45.16 kB / 0.5749 GB, free: 39.39 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.5222, allocations: 6.688 kB / 0.575 GB, free: 39.39 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.5226, allocations: 376.2 kB / 0.5753 GB, free: 39.09 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.5227, allocations: 0.694 MB / 0.576 GB, free: 38.38 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.5227, allocations: 13.09 kB / 0.576 GB, free: 38.38 MB / 462.3 MB Notification: Performance of SimCode: time 2.7e-07/0.5227, allocations: 1.219 kB / 0.576 GB, free: 38.38 MB / 462.3 MB Notification: Performance of Templates: time 0.002187/0.5249, allocations: 1.188 MB / 0.5772 GB, free: 37.77 MB / 462.3 MB 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches