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.001346/0.001346, allocations: 113.8 kB / 17.74 MB, free: 5.336 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.001251/0.001251, allocations: 185.5 kB / 18.66 MB, free: 4.422 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.338/1.338, 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 0.9389/0.9389, allocations: 119.3 MB / 411.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.72 kB / 0.5715 GB, free: 39.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1528, allocations: 80.69 MB / 0.6503 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.00238/0.1552, allocations: 1.176 MB / 0.6515 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001745/0.1554, allocations: 23.89 kB / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.1555, allocations: 0 / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.557e-05/0.1556, allocations: 4 kB / 0.6515 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.1557, allocations: 3.938 kB / 0.6515 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.1558, allocations: 11.98 kB / 0.6515 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.1559, allocations: 63.8 kB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.156, allocations: 4 kB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.156, allocations: 19.98 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.1561, allocations: 19.98 kB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1561, allocations: 3.938 kB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/0.1562, allocations: 4 kB / 0.6516 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.1562, allocations: 23.91 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.1563, allocations: 19.92 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.6e-05/0.1564, allocations: 43.77 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1564, allocations: 0 / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1564, allocations: 0 / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1564, allocations: 0 / 0.6517 GB, free: 11.66 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.0005717/0.157, allocations: 363.5 kB / 0.6521 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.157, allocations: 15.89 kB / 0.6521 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1571, allocations: 8.844 kB / 0.6521 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1572, allocations: 184.2 kB / 0.6523 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1573, allocations: 4.375 kB / 0.6523 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.1573, allocations: 12.28 kB / 0.6523 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1575, allocations: 78.2 kB / 0.6524 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1575, allocations: 192 / 0.6524 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1575, allocations: 7.938 kB / 0.6524 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1575, allocations: 7.984 kB / 0.6524 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.1576, allocations: 35.91 kB / 0.6524 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.1581, allocations: 308.9 kB / 0.6527 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1583, allocations: 122.4 kB / 0.6528 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.1584, allocations: 48.83 kB / 0.6529 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1584, allocations: 0 / 0.6529 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1585, allocations: 30.56 kB / 0.6529 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1585, allocations: 288 / 0.6529 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0003006/0.1588, allocations: 141.8 kB / 0.653 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1588, allocations: 59.34 kB / 0.6531 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.1589, allocations: 101.9 kB / 0.6532 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1589, allocations: 29.64 kB / 0.6532 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.159, allocations: 88.08 kB / 0.6533 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.159, allocations: 47.36 kB / 0.6533 GB, free: 9.793 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1591, allocations: 37.7 kB / 0.6534 GB, free: 9.75 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1592, allocations: 322.8 kB / 0.6537 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.1593, allocations: 59.89 kB / 0.6537 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1594, allocations: 83.92 kB / 0.6538 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1596, allocations: 141.6 kB / 0.654 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1596, allocations: 3.938 kB / 0.654 GB, free: 9.133 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000258/0.1598, allocations: 192.3 kB / 0.6541 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1599, allocations: 8 kB / 0.6542 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1599, allocations: 0 / 0.6542 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1599, allocations: 0 / 0.6542 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.1601, allocations: 59.91 kB / 0.6542 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1601, allocations: 3.984 kB / 0.6542 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.1602, allocations: 15.78 kB / 0.6542 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1602, allocations: 16.03 kB / 0.6542 GB, free: 8.84 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.407e-05/0.1603, allocations: 126.6 kB / 0.6544 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.1603, allocations: 3.906 kB / 0.6544 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.1604, allocations: 12.08 kB / 0.6544 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1604, allocations: 7.938 kB / 0.6544 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1604, allocations: 0 / 0.6544 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1604, allocations: 3.938 kB / 0.6544 GB, free: 8.676 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.1607, allocations: 193.7 kB / 0.6546 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1607, allocations: 0 / 0.6546 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.1609, allocations: 51.98 kB / 0.6546 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.161, allocations: 3.984 kB / 0.6546 GB, free: 8.383 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.161, allocations: 4 kB / 0.6546 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.161, allocations: 0 / 0.6546 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.161, allocations: 0 / 0.6546 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.1613, allocations: 255.2 kB / 0.6549 GB, free: 8.113 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.1613, allocations: 84.95 kB / 0.655 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1613, allocations: 8.266 kB / 0.655 GB, free: 8.004 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.1614, allocations: 12 kB / 0.655 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.1615, allocations: 3.984 kB / 0.655 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.1615, allocations: 11.88 kB / 0.655 GB, free: 7.977 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.1615, allocations: 83.31 kB / 0.6551 GB, free: 7.895 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1615, allocations: 0 / 0.6551 GB, free: 7.895 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002416/0.1618, allocations: 27.98 kB / 0.6551 GB, free: 7.867 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.763e-05/0.1619, allocations: 103.7 kB / 0.6552 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.1621, allocations: 123.9 kB / 0.6553 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1621, allocations: 0 / 0.6553 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.1622, allocations: 43.92 kB / 0.6554 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1624, allocations: 7.125 kB / 0.6554 GB, free: 7.59 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.1629, allocations: 362.1 kB / 0.6557 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1631, allocations: 0.7 MB / 0.6564 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.1632, allocations: 15.44 kB / 0.6564 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of SimCode: time 2.01e-07/0.1632, allocations: 0 / 0.6564 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of Templates: time 0.002623/0.1658, allocations: 1.202 MB / 0.6576 GB, free: 5.262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches