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.00119/0.00119, allocations: 85.92 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.001304/0.001304, allocations: 180.4 kB / 17.21 MB, free: 6.32 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.407/1.407, allocations: 223.3 MB / 241.2 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.182/1.182, allocations: 120.5 MB / 412.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003728, allocations: 8 kB / 0.4943 GB, free: 11.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7145, allocations: 82.85 MB / 0.5752 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001028/0.7155, allocations: 0.8953 MB / 0.576 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.7157, allocations: 16.83 kB / 0.5761 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.7157, allocations: 3.938 kB / 0.5761 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.981e-05/0.7158, allocations: 3.984 kB / 0.5761 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.7159, allocations: 5.75 kB / 0.5761 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.716, allocations: 5.188 kB / 0.5761 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.77e-05/0.7161, allocations: 56.83 kB / 0.5761 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.7162, allocations: 1.469 kB / 0.5761 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.7162, allocations: 19.19 kB / 0.5761 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.7163, allocations: 25.77 kB / 0.5762 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.7163, allocations: 1.562 kB / 0.5762 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.7163, allocations: 6.594 kB / 0.5762 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.7163, allocations: 14.98 kB / 0.5762 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.7164, allocations: 33.08 kB / 0.5762 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.49e-05/0.7164, allocations: 25.41 kB / 0.5763 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7164, allocations: 0 / 0.5763 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7165, allocations: 0 / 0.5763 GB, free: 41.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.7165, allocations: 0 / 0.5763 GB, free: 41.09 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.0004301/0.7169, allocations: 370.2 kB / 0.5766 GB, free: 40.72 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.7169, allocations: 13.84 kB / 0.5766 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.717, allocations: 10.8 kB / 0.5766 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.7171, allocations: 170.3 kB / 0.5768 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.7171, allocations: 1.875 kB / 0.5768 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.7172, allocations: 17.44 kB / 0.5768 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.7173, allocations: 80.89 kB / 0.5769 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.7173, allocations: 0 / 0.5769 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7173, allocations: 1.812 kB / 0.5769 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.7174, allocations: 3.984 kB / 0.5769 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.7174, allocations: 34 kB / 0.5769 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.7179, allocations: 329.1 kB / 0.5772 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.7181, allocations: 121.6 kB / 0.5774 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.7181, allocations: 34.72 kB / 0.5774 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.7182, allocations: 1.375 kB / 0.5774 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.7182, allocations: 31.94 kB / 0.5774 GB, free: 39.96 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.7182, allocations: 4 kB / 0.5774 GB, free: 39.96 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002754/0.7185, allocations: 151.1 kB / 0.5776 GB, free: 39.87 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.7185, allocations: 53.53 kB / 0.5776 GB, free: 39.8 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.7186, allocations: 98.52 kB / 0.5777 GB, free: 39.7 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.7186, allocations: 26.92 kB / 0.5777 GB, free: 39.67 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.7186, allocations: 85.58 kB / 0.5778 GB, free: 39.58 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.7186, allocations: 44.62 kB / 0.5779 GB, free: 39.54 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.7187, allocations: 5.094 kB / 0.5779 GB, free: 39.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.7187, allocations: 322.3 kB / 0.5782 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.7188, allocations: 60.67 kB / 0.5782 GB, free: 39.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.7189, allocations: 86.44 kB / 0.5783 GB, free: 39.14 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.719, allocations: 75.19 kB / 0.5784 GB, free: 39.11 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7191, allocations: 0 / 0.5784 GB, free: 39.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002597/0.7193, allocations: 191.9 kB / 0.5786 GB, free: 39.01 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.7193, allocations: 4.719 kB / 0.5786 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.7193, allocations: 5.312 kB / 0.5786 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7194, allocations: 9.078 kB / 0.5786 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.7196, allocations: 59.38 kB / 0.5786 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7196, allocations: 1.125 kB / 0.5786 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.7196, allocations: 15.89 kB / 0.5787 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.7196, allocations: 8.75 kB / 0.5787 GB, free: 38.96 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 5.904e-05/0.7197, allocations: 122 kB / 0.5788 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.7197, allocations: 7.062 kB / 0.5788 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.7198, allocations: 13.53 kB / 0.5788 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7198, allocations: 9.734 kB / 0.5788 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7198, allocations: 0 / 0.5788 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.7198, allocations: 112 / 0.5788 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.72, allocations: 204 kB / 0.579 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.72, allocations: 0 / 0.579 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.7203, allocations: 49.72 kB / 0.5791 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7203, allocations: 0 / 0.5791 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.7203, allocations: 8.188 kB / 0.5791 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7203, allocations: 0 / 0.5791 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7203, allocations: 3.953 kB / 0.5791 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.7206, allocations: 246.1 kB / 0.5793 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.7206, allocations: 86.47 kB / 0.5794 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.7206, allocations: 8.062 kB / 0.5794 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.7207, allocations: 10.73 kB / 0.5794 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.7207, allocations: 6.703 kB / 0.5794 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.7207, allocations: 2.75 kB / 0.5794 GB, free: 38.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.7208, allocations: 86.02 kB / 0.5795 GB, free: 38.19 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7208, allocations: 4 kB / 0.5795 GB, free: 38.19 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002304/0.721, allocations: 23.25 kB / 0.5795 GB, free: 38.18 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 7.288e-05/0.7211, allocations: 94.38 kB / 0.5796 GB, free: 38.1 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.7213, allocations: 123.6 kB / 0.5797 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7213, allocations: 1.375 kB / 0.5797 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.7214, allocations: 44.61 kB / 0.5798 GB, free: 38.03 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.7216, allocations: 13.48 kB / 0.5798 GB, free: 38.02 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.722, allocations: 361.9 kB / 0.5801 GB, free: 37.74 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.7222, allocations: 0.7065 MB / 0.5808 GB, free: 37.02 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.296e-05/0.7223, allocations: 41.59 kB / 0.5809 GB, free: 37 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.7223, allocations: 12.06 kB / 0.5809 GB, free: 37 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.7223, allocations: 0.9062 kB / 0.5809 GB, free: 37 MB / 462.3 MB Notification: Performance of Templates: time 0.002846/0.7252, allocations: 0.7307 MB / 0.5816 GB, free: 36.63 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