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.001578/0.001578, allocations: 109.9 kB / 17.06 MB, free: 5.82 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.001716/0.001716, allocations: 195.9 kB / 18 MB, free: 4.965 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.42/1.42, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.049/1.049, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 61.14 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1422, allocations: 80.7 MB / 0.6492 GB, free: 13.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002328/0.1445, allocations: 1.18 MB / 0.6504 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001619/0.1447, allocations: 23.95 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.1448, allocations: 0 / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.377e-05/0.1449, allocations: 7.875 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.05e-05/0.1449, allocations: 0 / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.145, allocations: 15.97 kB / 0.6504 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1452, allocations: 51.89 kB / 0.6505 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.1452, allocations: 7.984 kB / 0.6505 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.1453, allocations: 16 kB / 0.6505 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.1454, allocations: 31.89 kB / 0.6505 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1454, allocations: 4 kB / 0.6505 GB, free: 12.26 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.1454, allocations: 0 / 0.6505 GB, free: 12.26 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.1455, allocations: 15.98 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.1455, allocations: 23.86 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.64e-05/0.1456, allocations: 36.11 kB / 0.6506 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1456, allocations: 3.938 kB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1456, allocations: 0 / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.1456, allocations: 0 / 0.6506 GB, free: 12.18 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.0006161/0.1463, allocations: 379.4 kB / 0.6509 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1463, allocations: 15.88 kB / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.1464, allocations: 34.75 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.1464, allocations: 4.891 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1466, allocations: 180.3 kB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1466, allocations: 4.375 kB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1466, allocations: 12.33 kB / 0.6512 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1468, allocations: 86.08 kB / 0.6513 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1468, allocations: 3.938 kB / 0.6513 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1469, allocations: 7.938 kB / 0.6513 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1469, allocations: 0 / 0.6513 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.1469, allocations: 31.97 kB / 0.6513 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.1475, allocations: 316.8 kB / 0.6516 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.1478, allocations: 122.5 kB / 0.6517 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.89e-05/0.1478, allocations: 44.83 kB / 0.6518 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1479, allocations: 4 kB / 0.6518 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1479, allocations: 30.56 kB / 0.6518 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1479, allocations: 0 / 0.6518 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.000327/0.1482, allocations: 145.7 kB / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.1483, allocations: 59.39 kB / 0.652 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.1484, allocations: 93.86 kB / 0.6521 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1484, allocations: 33.7 kB / 0.6521 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.1485, allocations: 84.08 kB / 0.6522 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1485, allocations: 55.58 kB / 0.6523 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.1486, allocations: 33.72 kB / 0.6523 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1488, allocations: 326.8 kB / 0.6526 GB, free: 9.891 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.7e-05/0.1489, allocations: 55.95 kB / 0.6527 GB, free: 9.836 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.149, allocations: 87.91 kB / 0.6527 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.1492, allocations: 140.3 kB / 0.6529 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1492, allocations: 0 / 0.6529 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002933/0.1495, allocations: 197.5 kB / 0.6531 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1495, allocations: 4 kB / 0.6531 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1495, allocations: 4.375 kB / 0.6531 GB, free: 9.398 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1496, allocations: 0 / 0.6531 GB, free: 9.398 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.1498, allocations: 51.97 kB / 0.6531 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1498, allocations: 112 / 0.6531 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.1499, allocations: 31.7 kB / 0.6531 GB, free: 9.316 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1499, allocations: 8.031 kB / 0.6532 GB, free: 9.309 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 9.825e-05/0.15, allocations: 126.6 kB / 0.6533 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.15, allocations: 7.953 kB / 0.6533 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.1501, allocations: 11.97 kB / 0.6533 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1501, allocations: 4 kB / 0.6533 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1501, allocations: 0 / 0.6533 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1501, allocations: 3.938 kB / 0.6533 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.1504, allocations: 189.6 kB / 0.6535 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1504, allocations: 4 kB / 0.6535 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.1507, allocations: 51.97 kB / 0.6535 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1507, allocations: 3.938 kB / 0.6535 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1507, allocations: 4 kB / 0.6535 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1507, allocations: 0 / 0.6535 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1507, allocations: 0 / 0.6535 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.1511, allocations: 255.3 kB / 0.6538 GB, free: 8.582 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.1511, allocations: 85.03 kB / 0.6539 GB, free: 8.48 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1512, allocations: 8 kB / 0.6539 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.1512, allocations: 3.984 kB / 0.6539 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1513, allocations: 11.94 kB / 0.6539 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1513, allocations: 4 kB / 0.6539 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.1514, allocations: 83.27 kB / 0.654 GB, free: 8.371 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1514, allocations: 0 / 0.654 GB, free: 8.371 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002407/0.1516, allocations: 20 kB / 0.654 GB, free: 8.352 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.000598/0.1522, allocations: 0.7877 MB / 0.6548 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1525, allocations: 127.9 kB / 0.6549 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1525, allocations: 0 / 0.6549 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.1525, allocations: 43.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.0002183/0.1528, allocations: 7.938 kB / 0.6549 GB, free: 7.363 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1547, allocations: 1.782 MB / 0.6567 GB, free: 5.496 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.155, allocations: 0.7002 MB / 0.6574 GB, free: 4.77 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 8.328e-05/0.1551, allocations: 36.52 kB / 0.6574 GB, free: 4.734 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.1552, allocations: 27.42 kB / 0.6574 GB, free: 4.707 MB / 0.4983 GB Notification: Performance of SimCode: time 2.7e-07/0.1552, allocations: 0 / 0.6574 GB, free: 4.707 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.1806, allocations: 2.252 MB / 0.6596 GB, free: 2.594 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.17, allocations: 15.42 kB / 0.6596 GB, free: 2.582 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.csv --start-time 0 --stop-time 2 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.csv","/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