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.001031/0.001031, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002378, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009713/0.0009713, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000941/0.001912, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9852/0.9852, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0886/1.074, allocations: 53.65 MB / 243.3 MB, free: 15.59 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 0.809/0.809, allocations: 88.08 MB / 332.1 MB, free: 14.21 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06325/0.8722, allocations: 32.92 MB / 365 MB, free: 13.45 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.164e-06/2.164e-06, allocations: 0 / 366.1 MB, free: 12.3 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.62e-05, allocations: 4.062 kB / 366.2 MB, free: 12.3 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.00293/0.002956, allocations: 1.267 MB / 367.4 MB, free: 11.02 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 8.698e-05/0.003043, allocations: 23.89 kB / 367.4 MB, free: 11 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.003076, allocations: 0 / 367.4 MB, free: 11 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.003121, allocations: 0 / 367.4 MB, free: 11 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.003154, allocations: 7.938 kB / 367.5 MB, free: 10.99 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.003303, allocations: 3.984 kB / 367.5 MB, free: 10.98 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.003476, allocations: 63.88 kB / 367.5 MB, free: 10.92 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/0.003541, allocations: 11.94 kB / 367.5 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.00366, allocations: 23.97 kB / 367.6 MB, free: 10.89 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.003721, allocations: 23.97 kB / 367.6 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.00375, allocations: 0 / 367.6 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.003763, allocations: 4 kB / 367.6 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.003804, allocations: 15.94 kB / 367.6 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.003841, allocations: 8 kB / 367.6 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 9.302e-05/0.003934, allocations: 35.84 kB / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.00395, allocations: 0 / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003951, allocations: 0 / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.003967, allocations: 0 / 367.6 MB, free: 10.8 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.0005407/0.004508, allocations: 277.2 kB / 367.9 MB, free: 10.5 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.004558, allocations: 15.97 kB / 367.9 MB, free: 10.49 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.004608, allocations: 4.938 kB / 367.9 MB, free: 10.48 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.004788, allocations: 121.7 kB / 368 MB, free: 10.34 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.0048, allocations: 4.375 kB / 368.1 MB, free: 10.34 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.004832, allocations: 4.375 kB / 368.1 MB, free: 10.33 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.005044, allocations: 54.22 kB / 368.1 MB, free: 10.27 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005053, allocations: 192 / 368.1 MB, free: 10.27 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.005064, allocations: 4.375 kB / 368.1 MB, free: 10.27 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005071, allocations: 4.375 kB / 368.1 MB, free: 10.27 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.005109, allocations: 21.06 kB / 368.1 MB, free: 10.25 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.005565, allocations: 199 kB / 368.3 MB, free: 10.04 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.005708, allocations: 61.39 kB / 368.4 MB, free: 9.965 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.005744, allocations: 16.86 kB / 368.4 MB, free: 9.945 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.005754, allocations: 0 / 368.4 MB, free: 9.945 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.005788, allocations: 38.56 kB / 368.4 MB, free: 9.898 MB / 362.8 MB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.00579, allocations: 0 / 368.4 MB, free: 9.898 MB / 362.8 MB Notification: Performance of matching and sorting (n=10): time 0.0002064/0.005997, allocations: 77.8 kB / 368.5 MB, free: 9.816 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.006042, allocations: 59.34 kB / 368.6 MB, free: 9.746 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.829e-05/0.006131, allocations: 110.7 kB / 368.7 MB, free: 9.625 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.006152, allocations: 33.7 kB / 368.7 MB, free: 9.586 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.006209, allocations: 84.08 kB / 368.8 MB, free: 9.5 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.006257, allocations: 47.58 kB / 368.9 MB, free: 9.453 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.006318, allocations: 37.69 kB / 368.9 MB, free: 9.41 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.006438, allocations: 326.8 kB / 369.2 MB, free: 9.082 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.006481, allocations: 14.83 kB / 369.2 MB, free: 9.066 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.006537, allocations: 37.69 kB / 369.3 MB, free: 9.023 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.006644, allocations: 71.31 kB / 369.3 MB, free: 8.945 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.006646, allocations: 0 / 369.3 MB, free: 8.945 MB / 362.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001702/0.006817, allocations: 110.7 kB / 369.4 MB, free: 8.832 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.006834, allocations: 4 kB / 369.4 MB, free: 8.828 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.006842, allocations: 0 / 369.4 MB, free: 8.828 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.006857, allocations: 4 kB / 369.4 MB, free: 8.824 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.007161, allocations: 75.72 kB / 369.5 MB, free: 8.754 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.007166, allocations: 8.031 kB / 369.5 MB, free: 8.746 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.587e-05/0.007202, allocations: 11.89 kB / 369.5 MB, free: 8.734 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.007217, allocations: 11.98 kB / 369.5 MB, free: 8.723 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 6.749e-05/0.007285, allocations: 116.7 kB / 369.7 MB, free: 8.598 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.007313, allocations: 7.938 kB / 369.7 MB, free: 8.59 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.007345, allocations: 12.23 kB / 369.7 MB, free: 8.582 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007348, allocations: 7.922 kB / 369.7 MB, free: 8.574 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.00735, allocations: 0 / 369.7 MB, free: 8.574 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.007354, allocations: 3.938 kB / 369.7 MB, free: 8.57 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.007538, allocations: 86.06 kB / 369.8 MB, free: 8.469 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.00754, allocations: 4 kB / 369.8 MB, free: 8.465 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.007948, allocations: 74.14 kB / 369.9 MB, free: 8.398 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.007966, allocations: 15.81 kB / 369.9 MB, free: 8.383 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.007969, allocations: 0 / 369.9 MB, free: 8.383 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.007993, allocations: 11.98 kB / 369.9 MB, free: 8.371 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007994, allocations: 0 / 369.9 MB, free: 8.371 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007995, allocations: 0 / 369.9 MB, free: 8.371 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.008204, allocations: 211.4 kB / 370.1 MB, free: 8.148 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.008224, allocations: 3.984 kB / 370.1 MB, free: 8.145 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.008286, allocations: 4 kB / 370.1 MB, free: 8.141 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.008304, allocations: 3.984 kB / 370.1 MB, free: 8.137 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.008312, allocations: 8 kB / 370.1 MB, free: 8.129 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.254e-05/0.008324, allocations: 4.859 kB / 370.1 MB, free: 8.121 MB / 362.8 MB Notification: Performance of sort global known variables: time 6e-08/0.008324, allocations: 0 / 370.1 MB, free: 8.121 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002357/0.00856, allocations: 24 kB / 370.1 MB, free: 8.098 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 9.885e-05/0.008659, allocations: 91.22 kB / 370.2 MB, free: 8 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.008788, allocations: 64.77 kB / 370.3 MB, free: 7.934 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.008794, allocations: 0 / 370.3 MB, free: 7.934 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.008832, allocations: 33.34 kB / 370.3 MB, free: 7.898 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.009011, allocations: 8 kB / 370.3 MB, free: 7.891 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.009561, allocations: 238.5 kB / 370.6 MB, free: 7.629 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/0.009612, allocations: 71.8 kB / 370.6 MB, free: 7.539 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 4.741e-05/0.00966, allocations: 8.484 kB / 370.6 MB, free: 7.531 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.009723, allocations: 59.38 kB / 370.7 MB, free: 7.473 MB / 362.8 MB Notification: Performance of SimCode: time 5.01e-07/0.009724, allocations: 0 / 370.7 MB, free: 7.473 MB / 362.8 MB Notification: Performance of Templates: time 0.003078/0.0128, allocations: 0.9028 MB / 371.6 MB, free: 6.609 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4083789149299264]