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.0008366/0.0008366, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0008685/0.0008685, allocations: 186.4 kB / 17.21 MB, free: 6.312 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.161/1.161, allocations: 223.2 MB / 241.2 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6028/0.6028, allocations: 120.5 MB / 412.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.000256, allocations: 12 kB / 0.4943 GB, free: 11.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1137, allocations: 82.85 MB / 0.5752 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.0009061/0.1147, allocations: 0.8925 MB / 0.576 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001147/0.1148, allocations: 23.91 kB / 0.5761 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.1148, allocations: 0 / 0.5761 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.666e-05/0.1149, allocations: 0 / 0.5761 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.1149, allocations: 7.984 kB / 0.5761 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.649e-05/0.115, allocations: 11.94 kB / 0.5761 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.854e-05/0.1151, allocations: 47.94 kB / 0.5761 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.1151, allocations: 4 kB / 0.5761 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.811e-05/0.1152, allocations: 23.91 kB / 0.5762 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.1152, allocations: 19.98 kB / 0.5762 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1153, allocations: 0 / 0.5762 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.1153, allocations: 4 kB / 0.5762 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.1153, allocations: 19.92 kB / 0.5762 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.1153, allocations: 29.7 kB / 0.5762 GB, free: 7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.257e-05/0.1154, allocations: 27.89 kB / 0.5762 GB, free: 6.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1154, allocations: 0 / 0.5762 GB, free: 6.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1154, allocations: 4 kB / 0.5763 GB, free: 6.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.1154, allocations: 0 / 0.5763 GB, free: 6.969 MB / 446.1 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.0004015/0.1158, allocations: 367.5 kB / 0.5766 GB, free: 6.562 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1158, allocations: 12.03 kB / 0.5766 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.1159, allocations: 3.953 kB / 0.5766 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.116, allocations: 182.9 kB / 0.5768 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.116, allocations: 15.94 kB / 0.5768 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1161, allocations: 4 kB / 0.5768 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1162, allocations: 85.56 kB / 0.5769 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.1162, allocations: 0 / 0.5769 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1162, allocations: 0 / 0.5769 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1162, allocations: 0 / 0.5769 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.1163, allocations: 35.94 kB / 0.5769 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.1167, allocations: 316.9 kB / 0.5772 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1169, allocations: 126.4 kB / 0.5773 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.1169, allocations: 32.84 kB / 0.5774 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1169, allocations: 4 kB / 0.5774 GB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.117, allocations: 34.56 kB / 0.5774 GB, free: 5.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.117, allocations: 0 / 0.5774 GB, free: 5.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000239/0.1172, allocations: 145.7 kB / 0.5776 GB, free: 5.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.1172, allocations: 59.41 kB / 0.5776 GB, free: 5.391 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.622e-05/0.1173, allocations: 97.86 kB / 0.5777 GB, free: 5.285 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1173, allocations: 25.7 kB / 0.5777 GB, free: 5.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.1174, allocations: 88.64 kB / 0.5778 GB, free: 5.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1174, allocations: 55.28 kB / 0.5779 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.1174, allocations: 0 / 0.5779 GB, free: 5.105 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.1175, allocations: 318.8 kB / 0.5782 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.1176, allocations: 68.25 kB / 0.5782 GB, free: 4.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.1177, allocations: 85.23 kB / 0.5783 GB, free: 4.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.82e-05/0.1178, allocations: 78.19 kB / 0.5784 GB, free: 4.559 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1178, allocations: 0 / 0.5784 GB, free: 4.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002361/0.118, allocations: 193.5 kB / 0.5786 GB, free: 4.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1181, allocations: 13.66 kB / 0.5786 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.1181, allocations: 0 / 0.5786 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1181, allocations: 3.953 kB / 0.5786 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.1183, allocations: 52.16 kB / 0.5786 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1183, allocations: 4.031 kB / 0.5786 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.1183, allocations: 15.84 kB / 0.5787 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.1183, allocations: 4 kB / 0.5787 GB, free: 4.273 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.418e-05/0.1184, allocations: 125.8 kB / 0.5788 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1184, allocations: 7.891 kB / 0.5788 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.1185, allocations: 15.97 kB / 0.5788 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1185, allocations: 3.953 kB / 0.5788 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1185, allocations: 0 / 0.5788 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.1185, allocations: 0 / 0.5788 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1187, allocations: 197.7 kB / 0.579 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1187, allocations: 4 kB / 0.579 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.119, allocations: 51.97 kB / 0.5791 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.119, allocations: 0 / 0.5791 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.119, allocations: 4 kB / 0.5791 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.119, allocations: 3.938 kB / 0.5791 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.119, allocations: 3.953 kB / 0.5791 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1192, allocations: 247.2 kB / 0.5793 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.1193, allocations: 85.09 kB / 0.5794 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1193, allocations: 8 kB / 0.5794 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.1194, allocations: 7.984 kB / 0.5794 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.1194, allocations: 7.953 kB / 0.5794 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1194, allocations: 4 kB / 0.5794 GB, free: 3.414 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.1195, allocations: 87.27 kB / 0.5795 GB, free: 3.328 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1195, allocations: 288 / 0.5795 GB, free: 3.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1197, allocations: 24 kB / 0.5795 GB, free: 3.305 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.94e-05/0.1198, allocations: 103.2 kB / 0.5796 GB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.12, allocations: 130.1 kB / 0.5797 GB, free: 3.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.12, allocations: 0 / 0.5797 GB, free: 3.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.633e-05/0.12, allocations: 43.91 kB / 0.5798 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.1202, allocations: 8 kB / 0.5798 GB, free: 3.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.1206, allocations: 375 kB / 0.5801 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.1208, allocations: 0.7042 MB / 0.5808 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.989e-05/0.1209, allocations: 36.38 kB / 0.5809 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.1209, allocations: 15.44 kB / 0.5809 GB, free: 1.844 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1209, allocations: 0 / 0.5809 GB, free: 1.844 MB / 446.1 MB Notification: Performance of Templates: time 0.002162/0.1231, allocations: 0.7296 MB / 0.5816 GB, free: 1.121 MB / 446.1 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/jenkins/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