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.001034/0.001034, allocations: 87.17 kB / 16.65 MB, free: 6.535 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.001237/0.001237, allocations: 176.8 kB / 17.56 MB, free: 6.18 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.367/1.367, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.113/1.113, allocations: 120.5 MB / 413.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 12 kB / 0.4949 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6159/0.6163, allocations: 82.83 MB / 0.5758 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001235/0.6176, allocations: 0.9042 MB / 0.5767 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001751/0.6178, allocations: 29.58 kB / 0.5767 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.6178, allocations: 1.562 kB / 0.5767 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.171e-05/0.6179, allocations: 0 / 0.5767 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.618, allocations: 3.938 kB / 0.5767 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.6181, allocations: 6.672 kB / 0.5767 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.6183, allocations: 59.72 kB / 0.5768 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.6183, allocations: 1.688 kB / 0.5768 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.6184, allocations: 18.33 kB / 0.5768 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.6185, allocations: 28.58 kB / 0.5768 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.6185, allocations: 6.719 kB / 0.5768 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.755e-05/0.6185, allocations: 3.875 kB / 0.5768 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.6186, allocations: 13.92 kB / 0.5768 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.6186, allocations: 45.86 kB / 0.5769 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.34e-05/0.6187, allocations: 34.53 kB / 0.5769 GB, free: 41.06 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.6187, allocations: 1.812 kB / 0.5769 GB, free: 41.06 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6187, allocations: 3.938 kB / 0.5769 GB, free: 41.05 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.6188, allocations: 0 / 0.5769 GB, free: 41.05 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.0004304/0.6192, allocations: 373.6 kB / 0.5773 GB, free: 40.67 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6192, allocations: 10.03 kB / 0.5773 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.6193, allocations: 3.906 kB / 0.5773 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6194, allocations: 182.9 kB / 0.5775 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.6194, allocations: 6.844 kB / 0.5775 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.6195, allocations: 8.156 kB / 0.5775 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.6196, allocations: 79.02 kB / 0.5775 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.6196, allocations: 4.188 kB / 0.5776 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6196, allocations: 3.938 kB / 0.5776 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6197, allocations: 5.359 kB / 0.5776 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.6197, allocations: 29.86 kB / 0.5776 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.6202, allocations: 317 kB / 0.5779 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.6203, allocations: 129.5 kB / 0.578 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.6204, allocations: 39.75 kB / 0.5781 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.6204, allocations: 1.562 kB / 0.5781 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.6204, allocations: 40.61 kB / 0.5781 GB, free: 39.91 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.6205, allocations: 0 / 0.5781 GB, free: 39.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002821/0.6207, allocations: 142.4 kB / 0.5782 GB, free: 39.82 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.6208, allocations: 52.5 kB / 0.5783 GB, free: 39.76 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.6208, allocations: 103.5 kB / 0.5784 GB, free: 39.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.6209, allocations: 29.7 kB / 0.5784 GB, free: 39.62 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.6209, allocations: 84.91 kB / 0.5785 GB, free: 39.54 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.6209, allocations: 53.36 kB / 0.5785 GB, free: 39.49 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.621, allocations: 24.89 kB / 0.5786 GB, free: 39.46 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.621, allocations: 316.2 kB / 0.5789 GB, free: 39.15 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.775e-05/0.6211, allocations: 65.45 kB / 0.5789 GB, free: 39.12 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.871e-05/0.6212, allocations: 83.44 kB / 0.579 GB, free: 39.07 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.6214, allocations: 143.9 kB / 0.5791 GB, free: 38.99 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6214, allocations: 4 kB / 0.5791 GB, free: 38.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002529/0.6217, allocations: 193.9 kB / 0.5793 GB, free: 38.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6217, allocations: 7.875 kB / 0.5793 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6217, allocations: 0 / 0.5793 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6217, allocations: 5.891 kB / 0.5793 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.6219, allocations: 49.83 kB / 0.5794 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6219, allocations: 1.75 kB / 0.5794 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.622, allocations: 19.95 kB / 0.5794 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.622, allocations: 8.312 kB / 0.5794 GB, free: 38.86 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.386e-05/0.6221, allocations: 118.2 kB / 0.5795 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.6222, allocations: 11 kB / 0.5795 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.6222, allocations: 17.33 kB / 0.5796 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6222, allocations: 1.375 kB / 0.5796 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6222, allocations: 0 / 0.5796 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6222, allocations: 1.281 kB / 0.5796 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.6224, allocations: 194.2 kB / 0.5797 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6225, allocations: 0 / 0.5797 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.6227, allocations: 54.59 kB / 0.5798 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6227, allocations: 4 kB / 0.5798 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.6228, allocations: 12.11 kB / 0.5798 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6228, allocations: 0 / 0.5798 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6228, allocations: 1.375 kB / 0.5798 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.623, allocations: 252 kB / 0.5801 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.6231, allocations: 79.86 kB / 0.5801 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.6231, allocations: 10.73 kB / 0.5801 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.6232, allocations: 6.75 kB / 0.5801 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.6232, allocations: 6.734 kB / 0.5802 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.6232, allocations: 2.75 kB / 0.5802 GB, free: 38.17 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.516e-05/0.6233, allocations: 87.34 kB / 0.5802 GB, free: 38.09 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.854e-06/0.6233, allocations: 96 / 0.5802 GB, free: 38.09 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002324/0.6235, allocations: 29.75 kB / 0.5803 GB, free: 38.07 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.395e-05/0.6236, allocations: 104 kB / 0.5804 GB, free: 37.98 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.6238, allocations: 130.2 kB / 0.5805 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6238, allocations: 0 / 0.5805 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.6239, allocations: 46.53 kB / 0.5805 GB, free: 37.91 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.6241, allocations: 5.844 kB / 0.5805 GB, free: 37.9 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.6247, allocations: 367.3 kB / 0.5809 GB, free: 37.62 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.6249, allocations: 0.7027 MB / 0.5816 GB, free: 36.91 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.76e-05/0.625, allocations: 37.62 kB / 0.5816 GB, free: 36.89 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.625, allocations: 12.94 kB / 0.5816 GB, free: 36.88 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.625, allocations: 0 / 0.5816 GB, free: 36.88 MB / 462.3 MB Notification: Performance of Templates: time 0.003402/0.6285, allocations: 0.7573 MB / 0.5824 GB, free: 36.5 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