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: "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001655/0.001655, allocations: 196 kB / 18 MB, free: 5.105 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.397/1.397, allocations: 222.9 MB / 241.7 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.077/1.077, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.2 kB / 0.5704 GB, free: 40.06 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1611, allocations: 80.7 MB / 0.6492 GB, free: 13.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002066/0.1633, allocations: 1.172 MB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001744/0.1634, allocations: 15.97 kB / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.1635, allocations: 0 / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.242e-05/0.1636, allocations: 7.922 kB / 0.6504 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.892e-05/0.1636, allocations: 4 kB / 0.6504 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.1638, allocations: 11.92 kB / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1639, allocations: 59.88 kB / 0.6504 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.164, allocations: 0 / 0.6504 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.164, allocations: 19.98 kB / 0.6505 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.1641, allocations: 27.97 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1641, allocations: 0 / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.1642, allocations: 7.938 kB / 0.6505 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.1642, allocations: 19.97 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.1643, allocations: 23.81 kB / 0.6505 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.19e-05/0.1644, allocations: 38.69 kB / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1644, allocations: 0 / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1644, allocations: 0 / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1644, allocations: 0 / 0.6506 GB, free: 12.16 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.0005989/0.165, allocations: 376.2 kB / 0.6509 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.165, allocations: 15.89 kB / 0.651 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.1651, allocations: 34.75 kB / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.1651, allocations: 4.938 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1653, allocations: 172.4 kB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.1654, allocations: 384 / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.1654, allocations: 16.27 kB / 0.6512 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1656, allocations: 86.14 kB / 0.6513 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1656, allocations: 7.875 kB / 0.6513 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1656, allocations: 4 kB / 0.6513 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1656, allocations: 3.938 kB / 0.6513 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.604e-05/0.1657, allocations: 27.98 kB / 0.6513 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.1663, allocations: 316.8 kB / 0.6516 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.1665, allocations: 126.4 kB / 0.6517 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.1665, allocations: 44.83 kB / 0.6518 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.1666, allocations: 0 / 0.6518 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1666, allocations: 34.56 kB / 0.6518 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1666, allocations: 4 kB / 0.6518 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0003144/0.1669, allocations: 145.8 kB / 0.6519 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.167, allocations: 51.41 kB / 0.652 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.1671, allocations: 101.8 kB / 0.6521 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1671, allocations: 29.7 kB / 0.6521 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.1672, allocations: 88.12 kB / 0.6522 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.1672, allocations: 43.36 kB / 0.6522 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.1673, allocations: 41.7 kB / 0.6523 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1674, allocations: 318.8 kB / 0.6526 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.1675, allocations: 63.95 kB / 0.6526 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1677, allocations: 83.91 kB / 0.6527 GB, free: 9.738 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.1678, allocations: 141.5 kB / 0.6529 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1679, allocations: 0 / 0.6529 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002486/0.1681, allocations: 196.2 kB / 0.653 GB, free: 9.398 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1681, allocations: 4 kB / 0.653 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1681, allocations: 0 / 0.653 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1682, allocations: 384 / 0.653 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.1684, allocations: 55.97 kB / 0.6531 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1684, allocations: 0 / 0.6531 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.1684, allocations: 23.77 kB / 0.6531 GB, free: 9.316 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1684, allocations: 19.91 kB / 0.6531 GB, free: 9.297 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.949e-05/0.1685, allocations: 114.8 kB / 0.6533 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.1686, allocations: 11.84 kB / 0.6533 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.1686, allocations: 11.97 kB / 0.6533 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1686, allocations: 3.984 kB / 0.6533 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1686, allocations: 0 / 0.6533 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.1686, allocations: 3.938 kB / 0.6533 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.1689, allocations: 189.6 kB / 0.6535 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1689, allocations: 0 / 0.6535 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.1692, allocations: 55.91 kB / 0.6535 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1692, allocations: 0 / 0.6535 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1692, allocations: 11.98 kB / 0.6535 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1692, allocations: 0 / 0.6535 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1692, allocations: 4 kB / 0.6535 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1695, allocations: 247.2 kB / 0.6538 GB, free: 8.578 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1696, allocations: 88.95 kB / 0.6539 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1696, allocations: 4 kB / 0.6539 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.1697, allocations: 11.98 kB / 0.6539 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.1697, allocations: 11.92 kB / 0.6539 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1697, allocations: 0 / 0.6539 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.1698, allocations: 83.28 kB / 0.654 GB, free: 8.363 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1698, allocations: 0 / 0.654 GB, free: 8.363 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002342/0.17, allocations: 24 kB / 0.654 GB, free: 8.34 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.0005676/0.1706, allocations: 0.7838 MB / 0.6547 GB, free: 7.531 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1708, allocations: 124.1 kB / 0.6549 GB, free: 7.41 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1708, allocations: 0 / 0.6549 GB, free: 7.41 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.985e-05/0.1709, allocations: 39.97 kB / 0.6549 GB, free: 7.371 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1711, allocations: 11.94 kB / 0.6549 GB, free: 7.359 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.1729, allocations: 1.787 MB / 0.6567 GB, free: 5.488 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1733, allocations: 0.6963 MB / 0.6573 GB, free: 4.766 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.948e-05/0.1733, allocations: 40.5 kB / 0.6574 GB, free: 4.727 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.1734, allocations: 19.44 kB / 0.6574 GB, free: 4.707 MB / 0.4983 GB Notification: Performance of SimCode: time 3.61e-07/0.1734, allocations: 0 / 0.6574 GB, free: 4.707 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.1973, allocations: 2.289 MB / 0.6596 GB, free: 2.555 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.29, allocations: 7.688 kB / 0.6596 GB, free: 2.551 MB / 0.4983 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder.fmu > 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