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.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_noopt_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_noopt_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.001141/0.001141, allocations: 109.1 kB / 17.74 MB, free: 5.359 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.001137/0.001137, allocations: 191.8 kB / 18.67 MB, free: 4.434 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.011/1.011, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 57.62 kB / 0.5715 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1393, allocations: 80.7 MB / 0.6503 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002572/0.1419, allocations: 1.161 MB / 0.6515 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001819/0.1421, allocations: 27.89 kB / 0.6515 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.1421, allocations: 0 / 0.6515 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.707e-05/0.1422, allocations: 7.938 kB / 0.6515 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.1423, allocations: 0 / 0.6515 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.1425, allocations: 15.97 kB / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1426, allocations: 55.83 kB / 0.6516 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.752e-05/0.1427, allocations: 11.98 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.1427, allocations: 15.98 kB / 0.6516 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.1428, allocations: 19.97 kB / 0.6516 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1428, allocations: 4 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.1429, allocations: 0 / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.1429, allocations: 19.92 kB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.143, allocations: 27.91 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.58e-05/0.1431, allocations: 39.78 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1431, allocations: 0 / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1431, allocations: 0 / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.1431, allocations: 0 / 0.6517 GB, free: 11.69 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.000549/0.1437, allocations: 375.5 kB / 0.6521 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1437, allocations: 11.89 kB / 0.6521 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.1438, allocations: 20.77 kB / 0.6521 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1439, allocations: 176.3 kB / 0.6523 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.144, allocations: 384 / 0.6523 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.144, allocations: 12.28 kB / 0.6523 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1442, allocations: 78.14 kB / 0.6523 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1442, allocations: 192 / 0.6524 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1442, allocations: 7.938 kB / 0.6524 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1442, allocations: 4 kB / 0.6524 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.1443, allocations: 39.84 kB / 0.6524 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.1448, allocations: 316.9 kB / 0.6527 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.145, allocations: 118.5 kB / 0.6528 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.1451, allocations: 45.11 kB / 0.6529 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1451, allocations: 3.938 kB / 0.6529 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1452, allocations: 30.56 kB / 0.6529 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1452, allocations: 4 kB / 0.6529 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0003033/0.1455, allocations: 145.5 kB / 0.653 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1455, allocations: 51.41 kB / 0.6531 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.1456, allocations: 101.8 kB / 0.6532 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1456, allocations: 29.7 kB / 0.6532 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.1457, allocations: 84.08 kB / 0.6533 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1457, allocations: 43.36 kB / 0.6533 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.1458, allocations: 41.7 kB / 0.6534 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1459, allocations: 318.8 kB / 0.6537 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.146, allocations: 67.89 kB / 0.6537 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1461, allocations: 83.73 kB / 0.6538 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1463, allocations: 144.5 kB / 0.654 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1463, allocations: 0 / 0.654 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002618/0.1466, allocations: 185.5 kB / 0.6541 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1466, allocations: 11.94 kB / 0.6541 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1466, allocations: 3.938 kB / 0.6541 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1466, allocations: 4.031 kB / 0.6542 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.1469, allocations: 55.98 kB / 0.6542 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.1469, allocations: 3.984 kB / 0.6542 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.1469, allocations: 19.78 kB / 0.6542 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.147, allocations: 8 kB / 0.6542 GB, free: 8.863 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 8.538e-05/0.147, allocations: 122.6 kB / 0.6544 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.1471, allocations: 7.906 kB / 0.6544 GB, free: 8.727 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.1471, allocations: 12.08 kB / 0.6544 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1471, allocations: 7.938 kB / 0.6544 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1471, allocations: 0 / 0.6544 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1472, allocations: 3.938 kB / 0.6544 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1474, allocations: 193.7 kB / 0.6546 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1474, allocations: 3.984 kB / 0.6546 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.1477, allocations: 43.98 kB / 0.6546 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1477, allocations: 0 / 0.6546 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.1477, allocations: 11.98 kB / 0.6546 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1477, allocations: 3.984 kB / 0.6546 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1477, allocations: 4 kB / 0.6546 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.148, allocations: 255.2 kB / 0.6549 GB, free: 8.129 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1481, allocations: 85.14 kB / 0.655 GB, free: 8.027 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1481, allocations: 7.984 kB / 0.655 GB, free: 8.02 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.1482, allocations: 8 kB / 0.655 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.1482, allocations: 11.97 kB / 0.655 GB, free: 8 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1483, allocations: 3.938 kB / 0.655 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.1483, allocations: 79.28 kB / 0.6551 GB, free: 7.918 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1483, allocations: 4 kB / 0.6551 GB, free: 7.914 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002386/0.1485, allocations: 24 kB / 0.6551 GB, free: 7.891 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 0.0001088/0.1487, allocations: 107.7 kB / 0.6552 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1489, allocations: 120.2 kB / 0.6553 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1489, allocations: 0 / 0.6553 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.149, allocations: 51.86 kB / 0.6554 GB, free: 7.609 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.1492, allocations: 0 / 0.6554 GB, free: 7.609 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.1498, allocations: 357.8 kB / 0.6557 GB, free: 7.23 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.15, allocations: 0.7078 MB / 0.6564 GB, free: 6.496 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.1501, allocations: 11.44 kB / 0.6564 GB, free: 6.484 MB / 0.4983 GB Notification: Performance of SimCode: time 3.31e-07/0.1501, allocations: 3.938 kB / 0.6564 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of Templates: time 0.002904/0.153, allocations: 1.208 MB / 0.6576 GB, free: 5.273 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches