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.001234/0.001234, allocations: 98.81 kB / 16.3 MB, free: 5.59 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.001423/0.001423, allocations: 182.3 kB / 17.19 MB, free: 5.527 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.443/1.443, allocations: 223.2 MB / 241.1 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.402/1.402, allocations: 120.5 MB / 412.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 8 kB / 0.4942 GB, free: 11.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8105, allocations: 82.84 MB / 0.5751 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001338/0.8119, allocations: 0.8952 MB / 0.5759 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000176/0.812, allocations: 25.31 kB / 0.576 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.8121, allocations: 0 / 0.576 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.508e-05/0.8122, allocations: 5.031 kB / 0.576 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.8122, allocations: 0 / 0.576 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.8124, allocations: 10.11 kB / 0.576 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.8125, allocations: 38.34 kB / 0.576 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.387e-05/0.8126, allocations: 1.031 kB / 0.576 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.8127, allocations: 24.19 kB / 0.576 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.8127, allocations: 24.14 kB / 0.5761 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.8128, allocations: 2.562 kB / 0.5761 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.8128, allocations: 2.688 kB / 0.5761 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.8128, allocations: 15.39 kB / 0.5761 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.8129, allocations: 32.98 kB / 0.5761 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.467e-05/0.8129, allocations: 27.55 kB / 0.5761 GB, free: 41.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.8129, allocations: 1.156 kB / 0.5761 GB, free: 41.12 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.504e-06/0.813, allocations: 0 / 0.5761 GB, free: 41.12 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.813, allocations: 0 / 0.5761 GB, free: 41.12 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.0005472/0.8135, allocations: 378.4 kB / 0.5765 GB, free: 40.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.8136, allocations: 8.5 kB / 0.5765 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.8136, allocations: 6.859 kB / 0.5765 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.8138, allocations: 170.9 kB / 0.5767 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.8138, allocations: 2.125 kB / 0.5767 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.8139, allocations: 20.83 kB / 0.5767 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.814, allocations: 80.73 kB / 0.5768 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.814, allocations: 0 / 0.5768 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.8141, allocations: 6.016 kB / 0.5768 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.8141, allocations: 0 / 0.5768 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.8142, allocations: 38.19 kB / 0.5768 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.8147, allocations: 316.3 kB / 0.5771 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.8149, allocations: 122.3 kB / 0.5772 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.8149, allocations: 5.406 kB / 0.5772 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.8149, allocations: 32.28 kB / 0.5773 GB, free: 40 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.8149, allocations: 112 / 0.5773 GB, free: 40 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0003046/0.8152, allocations: 151 kB / 0.5774 GB, free: 39.91 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.8153, allocations: 52.75 kB / 0.5775 GB, free: 39.85 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.8154, allocations: 99.16 kB / 0.5776 GB, free: 39.75 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.8154, allocations: 29.7 kB / 0.5776 GB, free: 39.71 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.8154, allocations: 85.69 kB / 0.5777 GB, free: 39.62 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.8155, allocations: 48.62 kB / 0.5777 GB, free: 39.58 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.8155, allocations: 5.375 kB / 0.5777 GB, free: 39.58 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.8156, allocations: 321.6 kB / 0.578 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.8157, allocations: 57.33 kB / 0.5781 GB, free: 39.23 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.8158, allocations: 84.91 kB / 0.5782 GB, free: 39.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.8159, allocations: 74.41 kB / 0.5782 GB, free: 39.15 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8159, allocations: 0 / 0.5782 GB, free: 39.15 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002641/0.8162, allocations: 200.3 kB / 0.5784 GB, free: 39.04 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.8162, allocations: 5.5 kB / 0.5784 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8162, allocations: 0 / 0.5784 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8163, allocations: 5.703 kB / 0.5784 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.8165, allocations: 50.55 kB / 0.5785 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.8165, allocations: 1.375 kB / 0.5785 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.8166, allocations: 19.95 kB / 0.5785 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.8166, allocations: 8.062 kB / 0.5785 GB, free: 39.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.879e-05/0.8167, allocations: 127.4 kB / 0.5786 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.8167, allocations: 6.656 kB / 0.5786 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.8167, allocations: 13.34 kB / 0.5787 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.8167, allocations: 1.375 kB / 0.5787 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.8168, allocations: 7.891 kB / 0.5787 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8168, allocations: 0 / 0.5787 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.817, allocations: 191.7 kB / 0.5788 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.817, allocations: 4 kB / 0.5789 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.8173, allocations: 50.59 kB / 0.5789 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.8173, allocations: 0 / 0.5789 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.8173, allocations: 12.11 kB / 0.5789 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8173, allocations: 0 / 0.5789 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8173, allocations: 0 / 0.5789 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.8176, allocations: 249.5 kB / 0.5792 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.8177, allocations: 83.3 kB / 0.5792 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.8177, allocations: 7.484 kB / 0.5792 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.8178, allocations: 6.906 kB / 0.5792 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.8178, allocations: 15.34 kB / 0.5793 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.8178, allocations: 6.344 kB / 0.5793 GB, free: 38.32 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.976e-05/0.8179, allocations: 77.94 kB / 0.5793 GB, free: 38.24 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8179, allocations: 1.188 kB / 0.5793 GB, free: 38.24 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002359/0.8181, allocations: 21.31 kB / 0.5794 GB, free: 38.24 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 (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 0.0001082/0.8182, allocations: 111.3 kB / 0.5795 GB, free: 38.14 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.8185, allocations: 115.7 kB / 0.5796 GB, free: 38.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8185, allocations: 4.062 kB / 0.5796 GB, free: 38.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.8186, allocations: 46 kB / 0.5796 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.8187, allocations: 6.375 kB / 0.5796 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.8192, allocations: 372.5 kB / 0.58 GB, free: 37.77 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.8194, allocations: 0.7046 MB / 0.5807 GB, free: 37.06 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.965e-05/0.8195, allocations: 38.38 kB / 0.5807 GB, free: 37.04 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.8196, allocations: 11.56 kB / 0.5807 GB, free: 37.04 MB / 462.3 MB Notification: Performance of SimCode: time 2.01e-07/0.8196, allocations: 0 / 0.5807 GB, free: 37.04 MB / 462.3 MB Notification: Performance of Templates: time 0.00321/0.8228, allocations: 0.7211 MB / 0.5814 GB, free: 36.68 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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