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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 182.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009545/0.0009544, allocations: 113 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7188/0.7188, allocations: 119.3 MB / 460.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 55.92 kB / 0.5391 GB, free: 43.14 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1418, allocations: 80.69 MB / 0.6179 GB, free: 12.7 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001982/0.1438, allocations: 1.242 MB / 0.6191 GB, free: 11.45 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.144, allocations: 23.91 kB / 0.6192 GB, free: 11.43 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.144, allocations: 0 / 0.6192 GB, free: 11.43 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.714e-05/0.1441, allocations: 3.984 kB / 0.6192 GB, free: 11.42 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 3.23e-05/0.1441, allocations: 3.938 kB / 0.6192 GB, free: 11.42 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.1442, allocations: 8 kB / 0.6192 GB, free: 11.41 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.1443, allocations: 63.86 kB / 0.6192 GB, free: 11.35 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.1444, allocations: 0 / 0.6192 GB, free: 11.35 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.1444, allocations: 16 kB / 0.6192 GB, free: 11.33 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.1445, allocations: 23.91 kB / 0.6193 GB, free: 11.31 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1445, allocations: 4 kB / 0.6193 GB, free: 11.3 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.1445, allocations: 4 kB / 0.6193 GB, free: 11.3 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.1446, allocations: 15.97 kB / 0.6193 GB, free: 11.29 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.1446, allocations: 23.86 kB / 0.6193 GB, free: 11.26 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.187e-05/0.1447, allocations: 31.89 kB / 0.6193 GB, free: 11.23 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1447, allocations: 0 / 0.6193 GB, free: 11.23 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1447, allocations: 0 / 0.6193 GB, free: 11.23 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.1447, allocations: 4 kB / 0.6193 GB, free: 11.23 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005635/0.1453, allocations: 371.7 kB / 0.6197 GB, free: 10.81 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1453, allocations: 12.03 kB / 0.6197 GB, free: 10.8 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.1454, allocations: 0.9375 kB / 0.6197 GB, free: 10.8 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1456, allocations: 180.2 kB / 0.6199 GB, free: 10.59 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1457, allocations: 8.359 kB / 0.6199 GB, free: 10.58 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.1457, allocations: 12.38 kB / 0.6199 GB, free: 10.57 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1459, allocations: 74.14 kB / 0.62 GB, free: 10.49 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1459, allocations: 192 / 0.62 GB, free: 10.49 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1459, allocations: 11.94 kB / 0.62 GB, free: 10.48 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1459, allocations: 0 / 0.62 GB, free: 10.48 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.146, allocations: 23.98 kB / 0.62 GB, free: 10.45 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.1463, allocations: 189.6 kB / 0.6202 GB, free: 10.22 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1464, allocations: 122.5 kB / 0.6203 GB, free: 10.09 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.046e-05/0.1465, allocations: 44.83 kB / 0.6203 GB, free: 10.04 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1466, allocations: 3.938 kB / 0.6204 GB, free: 10.04 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1466, allocations: 34.56 kB / 0.6204 GB, free: 9.996 MB / 442.8 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.1466, allocations: 288 / 0.6204 GB, free: 9.996 MB / 442.8 MB Notification: Performance of matching and sorting (n=10): time 0.0002492/0.1469, allocations: 141.4 kB / 0.6205 GB, free: 9.852 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1469, allocations: 59.34 kB / 0.6206 GB, free: 9.781 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.147, allocations: 101.8 kB / 0.6207 GB, free: 9.672 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.147, allocations: 29.7 kB / 0.6207 GB, free: 9.637 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.147, allocations: 84.14 kB / 0.6208 GB, free: 9.551 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.1471, allocations: 47.3 kB / 0.6208 GB, free: 9.504 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.1471, allocations: 41.66 kB / 0.6209 GB, free: 9.457 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.1472, allocations: 318.8 kB / 0.6212 GB, free: 9.137 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.1473, allocations: 63.95 kB / 0.6212 GB, free: 9.074 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.799e-05/0.1474, allocations: 55.95 kB / 0.6213 GB, free: 9.02 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.1476, allocations: 127.9 kB / 0.6214 GB, free: 8.895 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1476, allocations: 0 / 0.6214 GB, free: 8.895 MB / 442.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002288/0.1478, allocations: 197.4 kB / 0.6216 GB, free: 8.695 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1478, allocations: 4 kB / 0.6216 GB, free: 8.691 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1478, allocations: 3.938 kB / 0.6216 GB, free: 8.688 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1479, allocations: 4 kB / 0.6216 GB, free: 8.684 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.1481, allocations: 47.97 kB / 0.6217 GB, free: 8.637 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1481, allocations: 0 / 0.6217 GB, free: 8.637 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.1481, allocations: 11.91 kB / 0.6217 GB, free: 8.625 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1481, allocations: 4 kB / 0.6217 GB, free: 8.621 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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.633e-05/0.1482, allocations: 133.7 kB / 0.6218 GB, free: 8.48 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.1482, allocations: 4 kB / 0.6218 GB, free: 8.477 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.1483, allocations: 15.91 kB / 0.6218 GB, free: 8.457 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1483, allocations: 4.188 kB / 0.6218 GB, free: 8.453 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1483, allocations: 0 / 0.6218 GB, free: 8.453 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1483, allocations: 3.984 kB / 0.6218 GB, free: 8.449 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.1485, allocations: 197.9 kB / 0.622 GB, free: 8.207 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1485, allocations: 3.984 kB / 0.622 GB, free: 8.203 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.1488, allocations: 47.98 kB / 0.6221 GB, free: 8.156 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1488, allocations: 0 / 0.6221 GB, free: 8.156 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1488, allocations: 19.86 kB / 0.6221 GB, free: 8.137 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1488, allocations: 4 kB / 0.6221 GB, free: 8.133 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1489, allocations: 0 / 0.6221 GB, free: 8.133 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.1504, allocations: 1.408 MB / 0.6235 GB, free: 6.582 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.1505, allocations: 88.95 kB / 0.6235 GB, free: 6.477 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1505, allocations: 7.922 kB / 0.6236 GB, free: 6.469 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.1506, allocations: 8 kB / 0.6236 GB, free: 6.461 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1506, allocations: 11.98 kB / 0.6236 GB, free: 6.449 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1506, allocations: 0 / 0.6236 GB, free: 6.449 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.511e-05/0.1507, allocations: 79.38 kB / 0.6236 GB, free: 6.371 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1507, allocations: 3.938 kB / 0.6237 GB, free: 6.367 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002451/0.1509, allocations: 32 kB / 0.6237 GB, free: 6.336 MB / 442.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.906e-05/0.151, allocations: 103.2 kB / 0.6238 GB, free: 6.223 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1512, allocations: 117.9 kB / 0.6239 GB, free: 6.109 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1513, allocations: 480 / 0.6239 GB, free: 6.109 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.1513, allocations: 47.91 kB / 0.6239 GB, free: 6.062 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.1515, allocations: 4.188 kB / 0.6239 GB, free: 6.059 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.152, allocations: 496.1 kB / 0.6244 GB, free: 5.527 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.1523, allocations: 0.7004 MB / 0.6251 GB, free: 4.801 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 8.485e-05/0.1524, allocations: 44.36 kB / 0.6251 GB, free: 4.758 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.1524, allocations: 11.44 kB / 0.6252 GB, free: 4.746 MB / 442.8 MB Notification: Performance of SimCode: time 2.3e-07/0.1524, allocations: 0 / 0.6252 GB, free: 4.746 MB / 442.8 MB Notification: Performance of Templates: time 0.002866/0.1553, allocations: 1.124 MB / 0.6263 GB, free: 3.621 MB / 442.8 MB 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@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches