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.001256/0.001256, allocations: 112.4 kB / 16.62 MB, free: 6.812 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.001416/0.001416, allocations: 190 kB / 17.55 MB, free: 5.93 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.176/1.176, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7769/0.7769, allocations: 119.3 MB / 410.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.91 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3943, allocations: 80.69 MB / 0.5692 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.00179/0.3962, allocations: 1.234 MB / 0.5704 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001203/0.3963, allocations: 24.61 kB / 0.5705 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.3963, allocations: 1.094 kB / 0.5705 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.626e-05/0.3964, allocations: 4 kB / 0.5705 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.27e-05/0.3965, allocations: 5.188 kB / 0.5705 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.3966, allocations: 9.156 kB / 0.5705 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.3967, allocations: 55.52 kB / 0.5705 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.3967, allocations: 2.125 kB / 0.5705 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.3967, allocations: 27.81 kB / 0.5706 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.3968, allocations: 20.53 kB / 0.5706 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3968, allocations: 2.5 kB / 0.5706 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.3968, allocations: 3.25 kB / 0.5706 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.3969, allocations: 15.45 kB / 0.5706 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.3969, allocations: 26.77 kB / 0.5706 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.98e-05/0.397, allocations: 35.52 kB / 0.5707 GB, free: 41.85 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.397, allocations: 1.25 kB / 0.5707 GB, free: 41.85 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.72e-07/0.397, allocations: 0 / 0.5707 GB, free: 41.85 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.397, allocations: 0 / 0.5707 GB, free: 41.85 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.0003844/0.3974, allocations: 378 kB / 0.571 GB, free: 41.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3974, allocations: 13.83 kB / 0.571 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.3974, allocations: 8.219 kB / 0.571 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3976, allocations: 178.7 kB / 0.5712 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.3976, allocations: 10.62 kB / 0.5712 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.3976, allocations: 4.812 kB / 0.5712 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3977, allocations: 86.17 kB / 0.5713 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.3977, allocations: 1.375 kB / 0.5713 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3977, allocations: 3.938 kB / 0.5713 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3978, allocations: 1.062 kB / 0.5713 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.3978, allocations: 33.69 kB / 0.5713 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.3982, allocations: 328.9 kB / 0.5717 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3983, allocations: 130.3 kB / 0.5718 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.3984, allocations: 35.84 kB / 0.5718 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.3984, allocations: 1.062 kB / 0.5718 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.3984, allocations: 39.7 kB / 0.5719 GB, free: 40.69 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3984, allocations: 4 kB / 0.5719 GB, free: 40.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002324/0.3987, allocations: 133.9 kB / 0.572 GB, free: 40.61 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.3987, allocations: 57.7 kB / 0.572 GB, free: 40.54 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.632e-05/0.3988, allocations: 103.2 kB / 0.5721 GB, free: 40.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.3988, allocations: 29.7 kB / 0.5722 GB, free: 40.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.3988, allocations: 85.08 kB / 0.5722 GB, free: 40.32 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3988, allocations: 45.8 kB / 0.5723 GB, free: 40.28 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.3989, allocations: 34.7 kB / 0.5723 GB, free: 40.25 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.839e-05/0.3989, allocations: 321.6 kB / 0.5726 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.399, allocations: 69.73 kB / 0.5727 GB, free: 39.89 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.3991, allocations: 81.38 kB / 0.5728 GB, free: 39.85 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3992, allocations: 137.9 kB / 0.5729 GB, free: 39.77 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3992, allocations: 0 / 0.5729 GB, free: 39.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002129/0.3995, allocations: 199.7 kB / 0.5731 GB, free: 39.67 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.3995, allocations: 6.75 kB / 0.5731 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3995, allocations: 4.031 kB / 0.5731 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3995, allocations: 5.109 kB / 0.5731 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.3997, allocations: 51.27 kB / 0.5732 GB, free: 39.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3997, allocations: 1.125 kB / 0.5732 GB, free: 39.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.3997, allocations: 21.3 kB / 0.5732 GB, free: 39.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3998, allocations: 2.875 kB / 0.5732 GB, free: 39.64 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 5.201e-05/0.3998, allocations: 115.8 kB / 0.5733 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.3998, allocations: 6.812 kB / 0.5733 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.3999, allocations: 21.52 kB / 0.5733 GB, free: 39.49 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3999, allocations: 0 / 0.5733 GB, free: 39.49 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3999, allocations: 5.5 kB / 0.5733 GB, free: 39.49 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3999, allocations: 3.938 kB / 0.5733 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.4001, allocations: 194.3 kB / 0.5735 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4001, allocations: 1.375 kB / 0.5735 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.4004, allocations: 53.16 kB / 0.5736 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4004, allocations: 0 / 0.5736 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4004, allocations: 8.109 kB / 0.5736 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4004, allocations: 1.375 kB / 0.5736 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4004, allocations: 0 / 0.5736 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.4006, allocations: 257.4 kB / 0.5738 GB, free: 39.06 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.4006, allocations: 78.48 kB / 0.5739 GB, free: 38.96 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.4006, allocations: 12.11 kB / 0.5739 GB, free: 38.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.4007, allocations: 1.375 kB / 0.5739 GB, free: 38.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.4008, allocations: 8.109 kB / 0.5739 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.4008, allocations: 13.25 kB / 0.5739 GB, free: 38.94 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.837e-05/0.4008, allocations: 79.41 kB / 0.574 GB, free: 38.87 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4008, allocations: 4 kB / 0.574 GB, free: 38.86 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002175/0.401, allocations: 22.5 kB / 0.574 GB, free: 38.86 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.845e-05/0.4011, allocations: 110.5 kB / 0.5741 GB, free: 38.76 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.4013, allocations: 123.8 kB / 0.5743 GB, free: 38.71 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4013, allocations: 0 / 0.5743 GB, free: 38.71 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.264e-05/0.4014, allocations: 50.56 kB / 0.5743 GB, free: 38.69 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.4016, allocations: 1.344 kB / 0.5743 GB, free: 38.69 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.4019, allocations: 350 kB / 0.5746 GB, free: 38.42 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.402, allocations: 0.6949 MB / 0.5753 GB, free: 37.72 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.474e-05/0.4021, allocations: 37.67 kB / 0.5754 GB, free: 37.7 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.4021, allocations: 16.69 kB / 0.5754 GB, free: 37.7 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.4021, allocations: 0 / 0.5754 GB, free: 37.7 MB / 462.3 MB Notification: Performance of Templates: time 0.002326/0.4045, allocations: 0.7992 MB / 0.5762 GB, free: 37.3 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