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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002433, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007485/0.0007485, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001779, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.136/1.136, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1102/1.246, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 1.03/1.03, allocations: 88.08 MB / 332.2 MB, free: 14.14 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08205/1.112, allocations: 32.93 MB / 365.2 MB, free: 13.38 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.069e-05, allocations: 3.953 kB / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002577/0.002608, allocations: 1.256 MB / 367.6 MB, free: 10.94 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 7.818e-05/0.002686, allocations: 27.89 kB / 367.6 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.002724, allocations: 3.938 kB / 367.6 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.002767, allocations: 0 / 367.6 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.002805, allocations: 7.938 kB / 367.7 MB, free: 10.9 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.002933, allocations: 7.984 kB / 367.7 MB, free: 10.89 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.003064, allocations: 63.88 kB / 367.7 MB, free: 10.83 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.003117, allocations: 0 / 367.7 MB, free: 10.83 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.003206, allocations: 35.95 kB / 367.8 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.003261, allocations: 11.98 kB / 367.8 MB, free: 10.79 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.003292, allocations: 4 kB / 367.8 MB, free: 10.78 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/0.003312, allocations: 4 kB / 367.8 MB, free: 10.78 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.00337, allocations: 19.92 kB / 367.8 MB, free: 10.76 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.00341, allocations: 8 kB / 367.8 MB, free: 10.75 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.003513, allocations: 43.78 kB / 367.8 MB, free: 10.71 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.494e-05/0.003528, allocations: 0 / 367.8 MB, free: 10.71 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.00353, allocations: 0 / 367.8 MB, free: 10.71 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.003545, allocations: 0 / 367.8 MB, free: 10.71 MB / 362.8 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.0005144/0.00406, allocations: 269.2 kB / 368.1 MB, free: 10.42 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.004105, allocations: 11.98 kB / 368.1 MB, free: 10.41 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.004151, allocations: 8.938 kB / 368.1 MB, free: 10.4 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.00431, allocations: 113.7 kB / 368.2 MB, free: 10.26 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.004325, allocations: 12.38 kB / 368.3 MB, free: 10.25 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.004363, allocations: 8.359 kB / 368.3 MB, free: 10.24 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.004477, allocations: 66.08 kB / 368.3 MB, free: 10.17 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.004487, allocations: 192 / 368.3 MB, free: 10.17 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.004498, allocations: 4.375 kB / 368.3 MB, free: 10.17 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.004507, allocations: 384 / 368.3 MB, free: 10.17 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.004529, allocations: 16.81 kB / 368.3 MB, free: 10.15 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.004922, allocations: 191 kB / 368.5 MB, free: 9.949 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.005028, allocations: 65.31 kB / 368.6 MB, free: 9.875 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.00506, allocations: 24.84 kB / 368.6 MB, free: 9.848 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.00507, allocations: 8 kB / 368.6 MB, free: 9.84 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.005093, allocations: 30.56 kB / 368.7 MB, free: 9.801 MB / 362.8 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.005095, allocations: 0 / 368.7 MB, free: 9.801 MB / 362.8 MB Notification: Performance of matching and sorting (n=10): time 0.0001897/0.005284, allocations: 77.8 kB / 368.7 MB, free: 9.719 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.005322, allocations: 59.34 kB / 368.8 MB, free: 9.648 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.005398, allocations: 98.72 kB / 368.9 MB, free: 9.539 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.005414, allocations: 29.7 kB / 368.9 MB, free: 9.504 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.005467, allocations: 96.06 kB / 369 MB, free: 9.406 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.005501, allocations: 47.58 kB / 369.1 MB, free: 9.359 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.005548, allocations: 37.69 kB / 369.1 MB, free: 9.316 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.005646, allocations: 314.8 kB / 369.4 MB, free: 9 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.005681, allocations: 26.81 kB / 369.4 MB, free: 8.973 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.005726, allocations: 41.69 kB / 369.5 MB, free: 8.926 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.621e-05/0.005802, allocations: 63.27 kB / 369.5 MB, free: 8.855 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.005805, allocations: 0 / 369.5 MB, free: 8.855 MB / 362.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001349/0.00594, allocations: 111 kB / 369.6 MB, free: 8.742 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.005957, allocations: 7.938 kB / 369.6 MB, free: 8.734 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.005962, allocations: 0 / 369.6 MB, free: 8.734 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.005981, allocations: 0 / 369.6 MB, free: 8.734 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.006235, allocations: 81.34 kB / 369.7 MB, free: 8.66 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.006242, allocations: 3.984 kB / 369.7 MB, free: 8.656 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.006274, allocations: 11.89 kB / 369.7 MB, free: 8.645 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.006285, allocations: 8 kB / 369.8 MB, free: 8.637 MB / 362.8 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 8.068e-05/0.006365, allocations: 116.6 kB / 369.9 MB, free: 8.512 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.006389, allocations: 11.92 kB / 369.9 MB, free: 8.5 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.006426, allocations: 16.12 kB / 369.9 MB, free: 8.488 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.00643, allocations: 4 kB / 369.9 MB, free: 8.484 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006434, allocations: 4 kB / 369.9 MB, free: 8.48 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.006438, allocations: 192 / 369.9 MB, free: 8.48 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.006625, allocations: 89.88 kB / 370 MB, free: 8.375 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.006627, allocations: 0 / 370 MB, free: 8.375 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.006825, allocations: 73.77 kB / 370.1 MB, free: 8.309 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.006841, allocations: 15.83 kB / 370.1 MB, free: 8.293 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.006845, allocations: 4 kB / 370.1 MB, free: 8.289 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.006869, allocations: 11.94 kB / 370.1 MB, free: 8.277 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.006872, allocations: 0 / 370.1 MB, free: 8.277 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006873, allocations: 0 / 370.1 MB, free: 8.277 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.007081, allocations: 203.7 kB / 370.3 MB, free: 8.062 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.007106, allocations: 4 kB / 370.3 MB, free: 8.059 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.007151, allocations: 0 / 370.3 MB, free: 8.059 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.007176, allocations: 11.98 kB / 370.3 MB, free: 8.047 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.007181, allocations: 0 / 370.3 MB, free: 8.047 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.807e-05/0.0072, allocations: 12.84 kB / 370.3 MB, free: 8.031 MB / 362.8 MB Notification: Performance of sort global known variables: time 7e-08/0.0072, allocations: 4 kB / 370.3 MB, free: 8.027 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001511/0.007351, allocations: 24 kB / 370.3 MB, free: 8.004 MB / 362.8 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 0.0001103/0.007461, allocations: 76.42 kB / 370.4 MB, free: 7.918 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.007599, allocations: 76.81 kB / 370.5 MB, free: 7.84 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.007608, allocations: 0.625 kB / 370.5 MB, free: 7.84 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.007638, allocations: 24.86 kB / 370.5 MB, free: 7.812 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.007821, allocations: 50.38 kB / 370.6 MB, free: 7.758 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.008456, allocations: 238.5 kB / 370.8 MB, free: 7.496 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.008646, allocations: 71.73 kB / 370.9 MB, free: 7.406 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.008704, allocations: 8.484 kB / 370.9 MB, free: 7.395 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.008776, allocations: 59.38 kB / 370.9 MB, free: 7.336 MB / 362.8 MB Notification: Performance of SimCode: time 1.102e-06/0.008777, allocations: 0 / 370.9 MB, free: 7.336 MB / 362.8 MB Notification: Performance of Templates: time 0.002869/0.01165, allocations: 0.7241 MB / 371.7 MB, free: 6.648 MB / 362.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.914557653479278]