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.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.001088/0.001088, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001669/0.002757, 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.001022/0.001022, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002374, 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.019/1.019, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09129/1.11, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.6837/0.6837, allocations: 88.07 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05439/0.7381, allocations: 32.94 MB / 365.2 MB, free: 13.37 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_noopt_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_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 366.3 MB, free: 12.21 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.197e-05, allocations: 3.625 kB / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002513/0.002535, allocations: 1.275 MB / 367.6 MB, free: 10.92 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 6.447e-05/0.002599, allocations: 15.92 kB / 367.6 MB, free: 10.9 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.00263, allocations: 0 / 367.6 MB, free: 10.9 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.002666, allocations: 3.984 kB / 367.6 MB, free: 10.9 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 3.609e-05/0.002702, allocations: 3.938 kB / 367.6 MB, free: 10.89 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.002831, allocations: 15.92 kB / 367.7 MB, free: 10.88 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.002952, allocations: 59.89 kB / 367.7 MB, free: 10.82 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.002995, allocations: 7.969 kB / 367.7 MB, free: 10.81 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.003072, allocations: 23.98 kB / 367.8 MB, free: 10.79 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.003134, allocations: 19.97 kB / 367.8 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.003161, allocations: 8 kB / 367.8 MB, free: 10.76 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.003175, allocations: 4 kB / 367.8 MB, free: 10.76 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.003215, allocations: 11.94 kB / 367.8 MB, free: 10.75 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.003249, allocations: 12 kB / 367.8 MB, free: 10.73 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 9.338e-05/0.003343, allocations: 39.83 kB / 367.8 MB, free: 10.7 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.003355, allocations: 0 / 367.8 MB, free: 10.7 MB / 362.8 MB Notification: Performance of FrontEnd: time 7.42e-07/0.003356, allocations: 0 / 367.8 MB, free: 10.7 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.003366, allocations: 0 / 367.8 MB, free: 10.7 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.0004655/0.003831, allocations: 269.2 kB / 368.1 MB, free: 10.41 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.003873, allocations: 15.98 kB / 368.1 MB, free: 10.39 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.003912, allocations: 8.922 kB / 368.1 MB, free: 10.38 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.004055, allocations: 121.6 kB / 368.3 MB, free: 10.24 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.004067, allocations: 4.375 kB / 368.3 MB, free: 10.23 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.004102, allocations: 8.375 kB / 368.3 MB, free: 10.23 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.004207, allocations: 58.7 kB / 368.3 MB, free: 10.16 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.004219, allocations: 192 / 368.3 MB, free: 10.16 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.004232, allocations: 384 / 368.3 MB, free: 10.16 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.004239, allocations: 384 / 368.3 MB, free: 10.16 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.542e-05/0.004275, allocations: 20.8 kB / 368.3 MB, free: 10.14 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.004735, allocations: 191.1 kB / 368.5 MB, free: 9.941 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.004856, allocations: 73.3 kB / 368.6 MB, free: 9.859 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.004889, allocations: 20.86 kB / 368.6 MB, free: 9.836 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.004899, allocations: 0 / 368.6 MB, free: 9.836 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.004923, allocations: 30.56 kB / 368.7 MB, free: 9.797 MB / 362.8 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.004924, allocations: 4 kB / 368.7 MB, free: 9.793 MB / 362.8 MB Notification: Performance of matching and sorting (n=10): time 0.0001841/0.005108, allocations: 77.8 kB / 368.7 MB, free: 9.711 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.005145, allocations: 59.34 kB / 368.8 MB, free: 9.641 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.005225, allocations: 106.7 kB / 368.9 MB, free: 9.523 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.005242, allocations: 25.7 kB / 368.9 MB, free: 9.492 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.005295, allocations: 100.1 kB / 369 MB, free: 9.391 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.005338, allocations: 51.58 kB / 369.1 MB, free: 9.34 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.005394, allocations: 37.69 kB / 369.1 MB, free: 9.297 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.005503, allocations: 322.8 kB / 369.4 MB, free: 8.973 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.099e-05/0.005544, allocations: 18.77 kB / 369.4 MB, free: 8.953 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.89e-05/0.005603, allocations: 33.7 kB / 369.5 MB, free: 8.914 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.756e-05/0.0057, allocations: 63.44 kB / 369.5 MB, free: 8.844 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.005703, allocations: 3.938 kB / 369.5 MB, free: 8.84 MB / 362.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001694/0.005872, allocations: 114.9 kB / 369.7 MB, free: 8.723 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.005891, allocations: 8.031 kB / 369.7 MB, free: 8.715 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.005896, allocations: 0 / 369.7 MB, free: 8.715 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.005913, allocations: 4 kB / 369.7 MB, free: 8.711 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.00621, allocations: 66.02 kB / 369.7 MB, free: 8.648 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.006215, allocations: 0 / 369.7 MB, free: 8.648 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.085e-05/0.006255, allocations: 15.89 kB / 369.7 MB, free: 8.633 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.006269, allocations: 7.984 kB / 369.7 MB, free: 8.625 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.156e-05/0.006351, allocations: 116.7 kB / 369.9 MB, free: 8.5 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.006388, allocations: 19.94 kB / 369.9 MB, free: 8.48 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.006428, allocations: 12.12 kB / 369.9 MB, free: 8.473 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.00643, allocations: 0 / 369.9 MB, free: 8.473 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.006433, allocations: 0 / 369.9 MB, free: 8.473 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.006438, allocations: 3.984 kB / 369.9 MB, free: 8.469 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.006657, allocations: 85.83 kB / 370 MB, free: 8.367 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.006661, allocations: 3.984 kB / 370 MB, free: 8.363 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.00695, allocations: 77.23 kB / 370.1 MB, free: 8.297 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.006964, allocations: 15.83 kB / 370.1 MB, free: 8.281 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.006968, allocations: 0 / 370.1 MB, free: 8.281 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.006996, allocations: 7.984 kB / 370.1 MB, free: 8.273 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.006998, allocations: 0 / 370.1 MB, free: 8.273 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.006999, allocations: 0 / 370.1 MB, free: 8.273 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.007222, allocations: 199.7 kB / 370.3 MB, free: 8.062 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.007248, allocations: 11.98 kB / 370.3 MB, free: 8.051 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.007313, allocations: 0 / 370.3 MB, free: 8.051 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.007335, allocations: 8 kB / 370.3 MB, free: 8.043 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.007344, allocations: 3.984 kB / 370.3 MB, free: 8.039 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.975e-05/0.007364, allocations: 12.86 kB / 370.3 MB, free: 8.023 MB / 362.8 MB Notification: Performance of sort global known variables: time 9e-08/0.007364, allocations: 0 / 370.3 MB, free: 8.023 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002325/0.007596, allocations: 24 kB / 370.3 MB, free: 8 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.0001046/0.007701, allocations: 80.36 kB / 370.4 MB, free: 7.91 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.007845, allocations: 72.88 kB / 370.5 MB, free: 7.836 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.007852, allocations: 0.7188 kB / 370.5 MB, free: 7.836 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.007897, allocations: 40.72 kB / 370.5 MB, free: 7.793 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.008111, allocations: 41.7 kB / 370.6 MB, free: 7.746 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.008671, allocations: 238.4 kB / 370.8 MB, free: 7.484 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.00872, allocations: 67.8 kB / 370.9 MB, free: 7.398 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.008767, allocations: 12.48 kB / 370.9 MB, free: 7.383 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.008839, allocations: 59.38 kB / 370.9 MB, free: 7.324 MB / 362.8 MB Notification: Performance of SimCode: time 1.082e-06/0.00884, allocations: 0 / 370.9 MB, free: 7.324 MB / 362.8 MB Notification: Performance of Templates: time 0.002661/0.0115, allocations: 0.7183 MB / 371.7 MB, free: 6.648 MB / 362.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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.06515577994287]