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.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_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_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.001371/0.001371, allocations: 109 kB / 17.06 MB, free: 6.023 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.001535/0.001535, allocations: 191 kB / 17.99 MB, free: 5.109 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.243/1.243, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7931/0.7931, allocations: 119.3 MB / 411.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 62.16 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1125, allocations: 80.7 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002103/0.1146, allocations: 1.168 MB / 0.6508 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.1148, allocations: 23.89 kB / 0.6509 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.1148, allocations: 0 / 0.6509 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.396e-05/0.1149, allocations: 0 / 0.6509 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.115e-05/0.1149, allocations: 7.938 kB / 0.6509 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.115, allocations: 11.98 kB / 0.6509 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 9.986e-05/0.1151, allocations: 63.81 kB / 0.6509 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.1152, allocations: 0 / 0.6509 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.1152, allocations: 19.98 kB / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.1153, allocations: 23.97 kB / 0.651 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1153, allocations: 0 / 0.651 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.1153, allocations: 4 kB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.1154, allocations: 23.91 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1154, allocations: 19.92 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.078e-05/0.1155, allocations: 39.78 kB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1155, allocations: 0 / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1155, allocations: 4 kB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1155, allocations: 0 / 0.6511 GB, free: 11.64 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.0004568/0.116, allocations: 359.5 kB / 0.6514 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.116, allocations: 12.03 kB / 0.6514 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.116, allocations: 4.844 kB / 0.6514 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.1162, allocations: 184.2 kB / 0.6516 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1162, allocations: 12.38 kB / 0.6516 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.1162, allocations: 12.27 kB / 0.6516 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1164, allocations: 90.06 kB / 0.6517 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1164, allocations: 192 / 0.6517 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1164, allocations: 3.938 kB / 0.6517 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1164, allocations: 0 / 0.6517 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.1165, allocations: 35.92 kB / 0.6517 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.1169, allocations: 316.8 kB / 0.652 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1171, allocations: 126.5 kB / 0.6522 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.1172, allocations: 36.84 kB / 0.6522 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.1172, allocations: 4 kB / 0.6522 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.1172, allocations: 34.78 kB / 0.6522 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1172, allocations: 0 / 0.6522 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0002742/0.1175, allocations: 145.5 kB / 0.6524 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1175, allocations: 55.41 kB / 0.6524 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.1176, allocations: 101.8 kB / 0.6525 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1176, allocations: 29.7 kB / 0.6526 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.1177, allocations: 84.08 kB / 0.6526 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1177, allocations: 47.36 kB / 0.6527 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.1178, allocations: 37.7 kB / 0.6527 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.1179, allocations: 314.8 kB / 0.653 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.118, allocations: 63.89 kB / 0.6531 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1181, allocations: 91.91 kB / 0.6532 GB, free: 9.258 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.1182, allocations: 141 kB / 0.6533 GB, free: 9.117 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1182, allocations: 0 / 0.6533 GB, free: 9.117 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002354/0.1185, allocations: 189.5 kB / 0.6535 GB, free: 8.926 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1185, allocations: 4 kB / 0.6535 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1185, allocations: 4.375 kB / 0.6535 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1185, allocations: 0 / 0.6535 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.1187, allocations: 55.91 kB / 0.6535 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1187, allocations: 4.031 kB / 0.6535 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.1188, allocations: 27.7 kB / 0.6536 GB, free: 8.832 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1188, allocations: 4 kB / 0.6536 GB, free: 8.828 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 7.623e-05/0.1189, allocations: 122.7 kB / 0.6537 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.1189, allocations: 7.906 kB / 0.6537 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.1189, allocations: 16.06 kB / 0.6537 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.119, allocations: 7.938 kB / 0.6537 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.119, allocations: 4 kB / 0.6537 GB, free: 8.66 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.119, allocations: 3.938 kB / 0.6537 GB, free: 8.656 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.1192, allocations: 193.7 kB / 0.6539 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1192, allocations: 0 / 0.6539 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1195, allocations: 51.97 kB / 0.654 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1195, allocations: 0 / 0.654 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.1195, allocations: 7.984 kB / 0.654 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1195, allocations: 0 / 0.654 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1195, allocations: 0 / 0.654 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1198, allocations: 255.2 kB / 0.6542 GB, free: 8.094 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.1198, allocations: 88.95 kB / 0.6543 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1198, allocations: 4 kB / 0.6543 GB, free: 7.984 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.1199, allocations: 3.984 kB / 0.6543 GB, free: 7.98 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.12, allocations: 16.02 kB / 0.6543 GB, free: 7.965 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.12, allocations: 7.938 kB / 0.6543 GB, free: 7.957 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.12, allocations: 79.47 kB / 0.6544 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.11e-07/0.12, allocations: 0 / 0.6544 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002235/0.1202, allocations: 20 kB / 0.6544 GB, free: 7.859 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 8.192e-05/0.1203, allocations: 111.7 kB / 0.6545 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1205, allocations: 119.9 kB / 0.6546 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1205, allocations: 0 / 0.6546 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.1206, allocations: 44.19 kB / 0.6547 GB, free: 7.582 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.1208, allocations: 8.188 kB / 0.6547 GB, free: 7.574 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.1213, allocations: 340.1 kB / 0.655 GB, free: 7.219 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.1215, allocations: 0.7 MB / 0.6557 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.649e-05/0.1216, allocations: 32.52 kB / 0.6557 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1216, allocations: 11.44 kB / 0.6557 GB, free: 6.445 MB / 0.4983 GB Notification: Performance of SimCode: time 2.9e-07/0.1216, allocations: 4 kB / 0.6558 GB, free: 6.441 MB / 0.4983 GB Notification: Performance of Templates: time 0.002551/0.1242, allocations: 0.8262 MB / 0.6566 GB, free: 5.617 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches