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.001817/0.001818, allocations: 95.33 kB / 16.5 MB, free: 6.641 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.001807/0.001807, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.46 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 / 410.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 0.4902 GB, free: 14.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.637/0.6382, allocations: 80.69 MB / 0.569 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002356/0.6406, allocations: 1.235 MB / 0.5702 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.6408, allocations: 29.33 kB / 0.5703 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.6408, allocations: 5.094 kB / 0.5703 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.812e-05/0.6409, allocations: 0 / 0.5703 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.698e-05/0.641, allocations: 5.406 kB / 0.5703 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.6412, allocations: 9.406 kB / 0.5703 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.6413, allocations: 47.02 kB / 0.5703 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.6413, allocations: 2.125 kB / 0.5703 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.855e-05/0.6414, allocations: 26.86 kB / 0.5704 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.6415, allocations: 26.02 kB / 0.5704 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.6415, allocations: 1.906 kB / 0.5704 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.6415, allocations: 3.281 kB / 0.5704 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.6416, allocations: 14.95 kB / 0.5704 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.6416, allocations: 23.47 kB / 0.5704 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.624e-05/0.6417, allocations: 38.5 kB / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6417, allocations: 1.062 kB / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.61e-07/0.6417, allocations: 0 / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.6417, allocations: 0 / 0.5705 GB, free: 42.41 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.0005528/0.6423, allocations: 375.2 kB / 0.5708 GB, free: 42.03 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6423, allocations: 17.28 kB / 0.5708 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.6424, allocations: 7.531 kB / 0.5708 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.6425, allocations: 175.5 kB / 0.571 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.6426, allocations: 3.062 kB / 0.571 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.6426, allocations: 8.156 kB / 0.571 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.6428, allocations: 82.89 kB / 0.5711 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6428, allocations: 192 / 0.5711 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.6428, allocations: 11.94 kB / 0.5711 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6428, allocations: 5.391 kB / 0.5711 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.758e-05/0.6429, allocations: 30.58 kB / 0.5712 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.6434, allocations: 332.3 kB / 0.5715 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.6436, allocations: 122.3 kB / 0.5716 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.6436, allocations: 38.59 kB / 0.5716 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.6437, allocations: 1.375 kB / 0.5716 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.6437, allocations: 31.94 kB / 0.5717 GB, free: 41.26 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.6437, allocations: 4 kB / 0.5717 GB, free: 41.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0003045/0.644, allocations: 142.5 kB / 0.5718 GB, free: 41.18 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.644, allocations: 52.78 kB / 0.5718 GB, free: 41.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.6441, allocations: 99.47 kB / 0.5719 GB, free: 41.01 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.6442, allocations: 31.02 kB / 0.572 GB, free: 40.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.6442, allocations: 85.42 kB / 0.5721 GB, free: 40.89 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.6442, allocations: 48.84 kB / 0.5721 GB, free: 40.85 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.6443, allocations: 35.47 kB / 0.5721 GB, free: 40.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.6444, allocations: 325.6 kB / 0.5724 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/0.6445, allocations: 60.89 kB / 0.5725 GB, free: 40.47 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.6446, allocations: 90.06 kB / 0.5726 GB, free: 40.41 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.6449, allocations: 137 kB / 0.5727 GB, free: 40.34 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6449, allocations: 1.25 kB / 0.5727 GB, free: 40.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000293/0.6452, allocations: 193 kB / 0.5729 GB, free: 40.24 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6452, allocations: 4.062 kB / 0.5729 GB, free: 40.24 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6452, allocations: 5.219 kB / 0.5729 GB, free: 40.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.6452, allocations: 1.438 kB / 0.5729 GB, free: 40.24 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.6454, allocations: 59.03 kB / 0.573 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.6454, allocations: 1.125 kB / 0.573 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.6455, allocations: 12.09 kB / 0.573 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.6455, allocations: 8.531 kB / 0.573 GB, free: 40.21 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 6.728e-05/0.6456, allocations: 119.4 kB / 0.5731 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.6456, allocations: 10.58 kB / 0.5731 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.6457, allocations: 17.53 kB / 0.5731 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.6457, allocations: 5.406 kB / 0.5731 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6457, allocations: 0 / 0.5731 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6457, allocations: 3.938 kB / 0.5731 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.6459, allocations: 194.7 kB / 0.5733 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6459, allocations: 0 / 0.5733 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.6462, allocations: 54.34 kB / 0.5734 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6462, allocations: 1.344 kB / 0.5734 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.6462, allocations: 2.469 kB / 0.5734 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6462, allocations: 1.281 kB / 0.5734 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6462, allocations: 4 kB / 0.5734 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.6465, allocations: 261.4 kB / 0.5736 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.6465, allocations: 78.86 kB / 0.5737 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.6465, allocations: 3.812 kB / 0.5737 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.6466, allocations: 14.61 kB / 0.5737 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.6467, allocations: 2.719 kB / 0.5737 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.6467, allocations: 6.469 kB / 0.5737 GB, free: 39.52 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.792e-05/0.6467, allocations: 90.7 kB / 0.5738 GB, free: 39.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6467, allocations: 0 / 0.5738 GB, free: 39.43 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002354/0.647, allocations: 22.94 kB / 0.5738 GB, free: 39.43 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.833e-05/0.647, allocations: 106.6 kB / 0.5739 GB, free: 39.33 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.6473, allocations: 120 kB / 0.5741 GB, free: 39.28 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6473, allocations: 0 / 0.5741 GB, free: 39.28 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.083e-05/0.6473, allocations: 46.72 kB / 0.5741 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.6476, allocations: 5.469 kB / 0.5741 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.648, allocations: 339.3 kB / 0.5744 GB, free: 39 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.6482, allocations: 0.7029 MB / 0.5751 GB, free: 38.29 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.294e-05/0.6483, allocations: 45.78 kB / 0.5752 GB, free: 38.26 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.6484, allocations: 12.59 kB / 0.5752 GB, free: 38.26 MB / 462.3 MB Notification: Performance of SimCode: time 2.9e-07/0.6484, allocations: 0 / 0.5752 GB, free: 38.26 MB / 462.3 MB Notification: Performance of Templates: time 0.002843/0.6512, allocations: 0.7607 MB / 0.5759 GB, free: 37.88 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches