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.0009662/0.0009662, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009658/0.0009658, allocations: 160.8 kB / 25.61 MB, free: 8.895 MB / 18.57 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.018/1.018, allocations: 177.1 MB / 206.1 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.838/0.838, allocations: 88.1 MB / 350.7 MB, free: 11.85 MB / 330.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 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="der.x.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.x.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 452.8 MB, free: 8.066 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.412e-05, allocations: 2.312 kB / 452.8 MB, free: 8.062 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.00309/0.003124, allocations: 1.22 MB / 454 MB, free: 6.836 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.003338, allocations: 23.91 kB / 454.1 MB, free: 6.812 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.003389, allocations: 0 / 454.1 MB, free: 6.812 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.003507, allocations: 0 / 454.1 MB, free: 6.812 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.003558, allocations: 3.984 kB / 454.1 MB, free: 6.809 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.003766, allocations: 19.86 kB / 454.1 MB, free: 6.789 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.003914, allocations: 63.88 kB / 454.1 MB, free: 6.727 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.003972, allocations: 0 / 454.1 MB, free: 6.727 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.004041, allocations: 23.97 kB / 454.2 MB, free: 6.703 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.004127, allocations: 23.97 kB / 454.2 MB, free: 6.68 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.004156, allocations: 0 / 454.2 MB, free: 6.68 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.004172, allocations: 4 kB / 454.2 MB, free: 6.676 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.004222, allocations: 15.98 kB / 454.2 MB, free: 6.66 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.004274, allocations: 23.91 kB / 454.2 MB, free: 6.637 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.004378, allocations: 31.89 kB / 454.3 MB, free: 6.605 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004381, allocations: 4 kB / 454.3 MB, free: 6.602 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.305e-06/0.004383, allocations: 0 / 454.3 MB, free: 6.602 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.004391, allocations: 0 / 454.3 MB, free: 6.602 MB / 426.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.0005751/0.004966, allocations: 392.5 kB / 454.7 MB, free: 6.18 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.005017, allocations: 12.03 kB / 454.7 MB, free: 6.168 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.005066, allocations: 8.938 kB / 454.7 MB, free: 6.16 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.005251, allocations: 124.4 kB / 454.8 MB, free: 6.012 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.005267, allocations: 4.375 kB / 454.8 MB, free: 6.008 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.005302, allocations: 12.38 kB / 454.8 MB, free: 5.996 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.005424, allocations: 54.22 kB / 454.9 MB, free: 5.938 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.005436, allocations: 4.188 kB / 454.9 MB, free: 5.934 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.005448, allocations: 4.375 kB / 454.9 MB, free: 5.93 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.005456, allocations: 384 / 454.9 MB, free: 5.93 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.005491, allocations: 15.92 kB / 454.9 MB, free: 5.914 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.005968, allocations: 272.3 kB / 455.2 MB, free: 5.621 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.006119, allocations: 86.95 kB / 455.2 MB, free: 5.523 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.006166, allocations: 19.67 kB / 455.3 MB, free: 5.5 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.006179, allocations: 4 kB / 455.3 MB, free: 5.496 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.00621, allocations: 37.5 kB / 455.3 MB, free: 5.449 MB / 426.8 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.006211, allocations: 3.938 kB / 455.3 MB, free: 5.445 MB / 426.8 MB Notification: Performance of matching and sorting (n=10): time 0.0002452/0.006457, allocations: 97.83 kB / 455.4 MB, free: 5.344 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.006502, allocations: 55.34 kB / 455.5 MB, free: 5.277 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.006608, allocations: 162 kB / 455.6 MB, free: 5.102 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.006629, allocations: 29.7 kB / 455.6 MB, free: 5.066 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.006702, allocations: 134.8 kB / 455.8 MB, free: 4.93 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.006751, allocations: 47.56 kB / 455.8 MB, free: 4.883 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.006824, allocations: 51.34 kB / 455.9 MB, free: 4.824 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.007014, allocations: 0.4884 MB / 456.4 MB, free: 4.324 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.007063, allocations: 23.98 kB / 456.4 MB, free: 4.301 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.007138, allocations: 47.3 kB / 456.4 MB, free: 4.246 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.007252, allocations: 63.34 kB / 456.5 MB, free: 4.176 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.007256, allocations: 0 / 456.5 MB, free: 4.176 MB / 426.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000205/0.007461, allocations: 121.5 kB / 456.6 MB, free: 4.051 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.007482, allocations: 4 kB / 456.6 MB, free: 4.047 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.00749, allocations: 4 kB / 456.6 MB, free: 4.043 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.007505, allocations: 0 / 456.6 MB, free: 4.043 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.007703, allocations: 52.11 kB / 456.7 MB, free: 3.992 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.00771, allocations: 4 kB / 456.7 MB, free: 3.988 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.00776, allocations: 11.92 kB / 456.7 MB, free: 3.977 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.007774, allocations: 8 kB / 456.7 MB, free: 3.969 MB / 426.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 0.0001133/0.007887, allocations: 164.5 kB / 456.9 MB, free: 3.797 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.007926, allocations: 11.92 kB / 456.9 MB, free: 3.785 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.007968, allocations: 16.11 kB / 456.9 MB, free: 3.77 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.007973, allocations: 4 kB / 456.9 MB, free: 3.766 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.007975, allocations: 0 / 456.9 MB, free: 3.766 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007979, allocations: 0 / 456.9 MB, free: 3.766 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.008252, allocations: 117.2 kB / 457 MB, free: 3.625 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.008256, allocations: 8 kB / 457 MB, free: 3.617 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.008469, allocations: 47.98 kB / 457.1 MB, free: 3.57 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.008476, allocations: 3.938 kB / 457.1 MB, free: 3.566 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.0085, allocations: 3.984 kB / 457.1 MB, free: 3.562 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.008503, allocations: 4 kB / 457.1 MB, free: 3.559 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008504, allocations: 0 / 457.1 MB, free: 3.559 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.00882, allocations: 270.5 kB / 457.3 MB, free: 3.277 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.008842, allocations: 7.891 kB / 457.3 MB, free: 3.27 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.008868, allocations: 11.88 kB / 457.3 MB, free: 3.258 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.008938, allocations: 8 kB / 457.4 MB, free: 3.25 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.008975, allocations: 15.92 kB / 457.4 MB, free: 3.234 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.008983, allocations: 0 / 457.4 MB, free: 3.234 MB / 426.8 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.009049, allocations: 127.2 kB / 457.5 MB, free: 3.109 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.009049, allocations: 0 / 457.5 MB, free: 3.109 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003/0.009349, allocations: 24 kB / 457.5 MB, free: 3.086 MB / 426.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.0001314/0.009481, allocations: 99.25 kB / 457.6 MB, free: 2.98 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.009656, allocations: 67.58 kB / 457.7 MB, free: 2.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.009659, allocations: 0 / 457.7 MB, free: 2.91 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 4.813e-05/0.009707, allocations: 39.67 kB / 457.7 MB, free: 2.867 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.009987, allocations: 8 kB / 457.7 MB, free: 2.859 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.01045, allocations: 265.7 kB / 458 MB, free: 2.57 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.0105, allocations: 63.34 kB / 458.1 MB, free: 2.488 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.01056, allocations: 12.48 kB / 458.1 MB, free: 2.473 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.01064, allocations: 78.2 kB / 458.1 MB, free: 2.395 MB / 426.8 MB Notification: Performance of SimCode: time 9.62e-07/0.01064, allocations: 0 / 458.1 MB, free: 2.395 MB / 426.8 MB Notification: Performance of Templates: time 0.003416/0.01405, allocations: 0.876 MB / 459 MB, free: 1.52 MB / 426.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 -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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.955642845015973]