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.0007679/0.0007679, allocations: 90.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.0008307/0.0008306, allocations: 181.8 kB / 17.56 MB, free: 6.176 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.111/1.111, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7322/0.7322, allocations: 120.5 MB / 413.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002519, allocations: 8 kB / 0.4949 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3932, allocations: 82.83 MB / 0.5758 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.0007559/0.394, allocations: 0.904 MB / 0.5767 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00011/0.3941, allocations: 25.33 kB / 0.5767 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.3941, allocations: 1.375 kB / 0.5767 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 5.847e-05/0.3942, allocations: 0 / 0.5767 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.028e-05/0.3942, allocations: 7.938 kB / 0.5767 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.531e-05/0.3943, allocations: 6.172 kB / 0.5767 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.3944, allocations: 56.72 kB / 0.5768 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3944, allocations: 1.312 kB / 0.5768 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.496e-05/0.3945, allocations: 24.92 kB / 0.5768 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.3945, allocations: 19.69 kB / 0.5768 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3945, allocations: 8.125 kB / 0.5768 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.3946, allocations: 3.344 kB / 0.5768 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.3946, allocations: 19.53 kB / 0.5768 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3946, allocations: 49.12 kB / 0.5769 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.351e-05/0.3947, allocations: 38.8 kB / 0.5769 GB, free: 40.46 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3947, allocations: 0 / 0.5769 GB, free: 40.46 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3947, allocations: 1.156 kB / 0.5769 GB, free: 40.46 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3947, allocations: 0 / 0.5769 GB, free: 40.46 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.0003477/0.3951, allocations: 373.1 kB / 0.5773 GB, free: 40.08 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.3951, allocations: 14.06 kB / 0.5773 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.3951, allocations: 8.156 kB / 0.5773 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/0.3952, allocations: 171.1 kB / 0.5775 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.3953, allocations: 7.062 kB / 0.5775 GB, free: 39.87 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3953, allocations: 13.06 kB / 0.5775 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3954, allocations: 74.23 kB / 0.5776 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.3954, allocations: 192 / 0.5776 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3954, allocations: 11.92 kB / 0.5776 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3954, allocations: 2.031 kB / 0.5776 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.3955, allocations: 33.47 kB / 0.5776 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.3959, allocations: 321.2 kB / 0.5779 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.396, allocations: 121.5 kB / 0.578 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.3961, allocations: 43.14 kB / 0.5781 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.3961, allocations: 1.969 kB / 0.5781 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.034e-05/0.3961, allocations: 31.72 kB / 0.5781 GB, free: 39.33 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.3961, allocations: 4 kB / 0.5781 GB, free: 39.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002158/0.3963, allocations: 143 kB / 0.5782 GB, free: 39.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.3963, allocations: 52.5 kB / 0.5783 GB, free: 39.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.323e-05/0.3964, allocations: 103.5 kB / 0.5784 GB, free: 39.08 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.3964, allocations: 25.91 kB / 0.5784 GB, free: 39.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.911e-05/0.3964, allocations: 93.2 kB / 0.5785 GB, free: 38.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3964, allocations: 45.8 kB / 0.5785 GB, free: 38.91 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.3965, allocations: 26.39 kB / 0.5786 GB, free: 38.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.3965, allocations: 322.4 kB / 0.5789 GB, free: 38.56 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.3966, allocations: 65.11 kB / 0.5789 GB, free: 38.53 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.3967, allocations: 82.2 kB / 0.579 GB, free: 38.48 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3968, allocations: 138.9 kB / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3968, allocations: 0 / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002001/0.397, allocations: 196.9 kB / 0.5793 GB, free: 38.3 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.397, allocations: 5.531 kB / 0.5793 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.397, allocations: 4.031 kB / 0.5793 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.3971, allocations: 2.031 kB / 0.5793 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.3972, allocations: 54.81 kB / 0.5794 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3972, allocations: 1.438 kB / 0.5794 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.3973, allocations: 16.12 kB / 0.5794 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3973, allocations: 8.094 kB / 0.5794 GB, free: 38.27 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 4.738e-05/0.3973, allocations: 123 kB / 0.5795 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3974, allocations: 6.312 kB / 0.5795 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.3974, allocations: 13.03 kB / 0.5796 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3974, allocations: 5.312 kB / 0.5796 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3974, allocations: 1.031 kB / 0.5796 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3974, allocations: 3.938 kB / 0.5796 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.3976, allocations: 203.1 kB / 0.5798 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3976, allocations: 0 / 0.5798 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.3978, allocations: 46.73 kB / 0.5798 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3978, allocations: 3.984 kB / 0.5798 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3979, allocations: 3.812 kB / 0.5798 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3979, allocations: 0 / 0.5798 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3979, allocations: 1.906 kB / 0.5798 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.3981, allocations: 256.4 kB / 0.5801 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.3981, allocations: 78.48 kB / 0.5801 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.3981, allocations: 7.422 kB / 0.5801 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.3982, allocations: 2.656 kB / 0.5801 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.3982, allocations: 11.86 kB / 0.5802 GB, free: 37.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3982, allocations: 2 kB / 0.5802 GB, free: 37.59 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.942e-05/0.3982, allocations: 86.81 kB / 0.5802 GB, free: 37.51 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3982, allocations: 7.938 kB / 0.5802 GB, free: 37.5 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002061/0.3985, allocations: 26.23 kB / 0.5803 GB, free: 37.49 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 5.755e-05/0.3985, allocations: 107.4 kB / 0.5804 GB, free: 37.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.3987, allocations: 123.6 kB / 0.5805 GB, free: 37.35 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3987, allocations: 0 / 0.5805 GB, free: 37.35 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.3987, allocations: 42.05 kB / 0.5805 GB, free: 37.33 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.3989, allocations: 9.312 kB / 0.5805 GB, free: 37.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.3992, allocations: 375 kB / 0.5809 GB, free: 37.03 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.008e-05/0.3993, allocations: 0.7035 MB / 0.5816 GB, free: 36.32 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.037e-05/0.3994, allocations: 41 kB / 0.5816 GB, free: 36.3 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.3994, allocations: 12.94 kB / 0.5816 GB, free: 36.29 MB / 462.3 MB Notification: Performance of SimCode: time 2.8e-07/0.3994, allocations: 0 / 0.5816 GB, free: 36.29 MB / 462.3 MB Notification: Performance of Templates: time 0.002009/0.4014, allocations: 0.7495 MB / 0.5824 GB, free: 35.93 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/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