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.001172/0.001172, allocations: 110.7 kB / 17.06 MB, free: 5.969 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.001043/0.001043, allocations: 200 kB / 18.01 MB, free: 5.055 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.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.18/1.18, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 70.92 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2129, allocations: 80.69 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002446/0.2154, allocations: 1.172 MB / 0.6508 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.2156, allocations: 23.89 kB / 0.6509 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.2157, allocations: 0 / 0.6509 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.182e-05/0.2158, allocations: 0 / 0.6509 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.2158, allocations: 3.938 kB / 0.6509 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.216, allocations: 11.98 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.2162, allocations: 67.8 kB / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.959e-05/0.2162, allocations: 0 / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.2163, allocations: 27.92 kB / 0.651 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.2164, allocations: 19.97 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.2164, allocations: 4 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.2164, allocations: 7.938 kB / 0.651 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.2165, allocations: 15.98 kB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.2165, allocations: 23.86 kB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.2166, allocations: 35.83 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2166, allocations: 3.984 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2166, allocations: 0 / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2166, allocations: 0 / 0.6511 GB, free: 11.68 MB / 0.4983 GB 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.0006189/0.2173, allocations: 367.5 kB / 0.6514 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2173, allocations: 8.031 kB / 0.6514 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.2173, allocations: 8.844 kB / 0.6514 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.2175, allocations: 180.2 kB / 0.6516 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.2176, allocations: 8.375 kB / 0.6516 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.2176, allocations: 8.281 kB / 0.6516 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2178, allocations: 86.14 kB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2178, allocations: 192 / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2178, allocations: 7.938 kB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2178, allocations: 0 / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.701e-05/0.2179, allocations: 39.91 kB / 0.6517 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.2184, allocations: 308.9 kB / 0.652 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.2186, allocations: 126.4 kB / 0.6522 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.2187, allocations: 40.83 kB / 0.6522 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2187, allocations: 4 kB / 0.6522 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2187, allocations: 30.56 kB / 0.6522 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.113e-06/0.2187, allocations: 0 / 0.6522 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0002894/0.219, allocations: 146 kB / 0.6524 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2191, allocations: 55.34 kB / 0.6524 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.2192, allocations: 109.8 kB / 0.6525 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.2192, allocations: 25.7 kB / 0.6526 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.2192, allocations: 92.08 kB / 0.6526 GB, free: 9.859 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.2193, allocations: 51.42 kB / 0.6527 GB, free: 9.809 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.2193, allocations: 33.7 kB / 0.6527 GB, free: 9.77 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2195, allocations: 322.8 kB / 0.653 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.2195, allocations: 63.89 kB / 0.6531 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2196, allocations: 79.92 kB / 0.6532 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.2198, allocations: 148.5 kB / 0.6533 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2198, allocations: 0 / 0.6533 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002466/0.2201, allocations: 193.5 kB / 0.6535 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2201, allocations: 4 kB / 0.6535 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2201, allocations: 0 / 0.6535 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2201, allocations: 4 kB / 0.6535 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.2203, allocations: 55.91 kB / 0.6536 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2204, allocations: 0 / 0.6536 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2205, allocations: 19.78 kB / 0.6536 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.2205, allocations: 8.031 kB / 0.6536 GB, free: 8.867 MB / 0.4983 GB 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 9.065e-05/0.2206, allocations: 122.6 kB / 0.6537 GB, free: 8.738 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.2206, allocations: 8.016 kB / 0.6537 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.2207, allocations: 15.91 kB / 0.6537 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2207, allocations: 4 kB / 0.6537 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2207, allocations: 0 / 0.6537 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2207, allocations: 3.938 kB / 0.6537 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.221, allocations: 189.6 kB / 0.6539 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.221, allocations: 0 / 0.6539 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.2213, allocations: 55.98 kB / 0.654 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2213, allocations: 0 / 0.654 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.2214, allocations: 7.984 kB / 0.654 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2214, allocations: 0 / 0.654 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2214, allocations: 0 / 0.654 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.2217, allocations: 247.4 kB / 0.6542 GB, free: 8.148 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.2217, allocations: 89.14 kB / 0.6543 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.2218, allocations: 11.98 kB / 0.6543 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.2218, allocations: 11.94 kB / 0.6543 GB, free: 8.02 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.2219, allocations: 7.984 kB / 0.6543 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.2219, allocations: 7.938 kB / 0.6543 GB, free: 8.004 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.2219, allocations: 83.38 kB / 0.6544 GB, free: 7.922 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2219, allocations: 3.938 kB / 0.6544 GB, free: 7.918 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002406/0.2222, allocations: 20 kB / 0.6544 GB, free: 7.898 MB / 0.4983 GB 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 0.0001067/0.2223, allocations: 103.7 kB / 0.6545 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.2225, allocations: 127.9 kB / 0.6547 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2226, allocations: 4 kB / 0.6547 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.873e-05/0.2226, allocations: 39.92 kB / 0.6547 GB, free: 7.621 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.2228, allocations: 8 kB / 0.6547 GB, free: 7.613 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.2233, allocations: 332 kB / 0.655 GB, free: 7.266 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.2237, allocations: 0.7039 MB / 0.6557 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 8.294e-05/0.2237, allocations: 32.52 kB / 0.6557 GB, free: 6.5 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.2238, allocations: 11.44 kB / 0.6558 GB, free: 6.488 MB / 0.4983 GB Notification: Performance of SimCode: time 3.81e-07/0.2238, allocations: 0 / 0.6558 GB, free: 6.488 MB / 0.4983 GB Notification: Performance of Templates: time 0.002977/0.2268, allocations: 0.8288 MB / 0.6566 GB, free: 5.668 MB / 0.4983 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches