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.001611/0.001611, allocations: 110.5 kB / 17.06 MB, free: 5.941 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.001996/0.001996, allocations: 200 kB / 18.01 MB, free: 5.031 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.475/1.475, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9614/0.9614, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 65.23 kB / 0.5704 GB, free: 39.98 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1429, allocations: 80.7 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002421/0.1454, allocations: 1.176 MB / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.1456, allocations: 23.89 kB / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.1456, allocations: 0 / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.35e-05/0.1457, allocations: 4 kB / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.1458, allocations: 3.938 kB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.1459, allocations: 3.984 kB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.1461, allocations: 67.8 kB / 0.6504 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.1461, allocations: 4 kB / 0.6505 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.1462, allocations: 19.98 kB / 0.6505 GB, free: 12.26 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.1462, allocations: 19.98 kB / 0.6505 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.1463, allocations: 0 / 0.6505 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.1463, allocations: 7.938 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.1463, allocations: 19.97 kB / 0.6505 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.1464, allocations: 23.86 kB / 0.6505 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.804e-05/0.1465, allocations: 40.05 kB / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1465, allocations: 3.984 kB / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1465, allocations: 0 / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1465, allocations: 0 / 0.6506 GB, free: 12.14 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.0005937/0.1471, allocations: 375.4 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1471, allocations: 15.89 kB / 0.651 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.1472, allocations: 34.75 kB / 0.651 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1472, allocations: 8.891 kB / 0.651 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.1474, allocations: 180.2 kB / 0.6512 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1474, allocations: 384 / 0.6512 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.1474, allocations: 12.33 kB / 0.6512 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1476, allocations: 86.14 kB / 0.6513 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1476, allocations: 7.938 kB / 0.6513 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1476, allocations: 0 / 0.6513 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1476, allocations: 7.922 kB / 0.6513 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.1477, allocations: 27.98 kB / 0.6513 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.1482, allocations: 320.8 kB / 0.6516 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1484, allocations: 126.4 kB / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.1485, allocations: 40.84 kB / 0.6518 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.1485, allocations: 0 / 0.6518 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1485, allocations: 34.56 kB / 0.6518 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.1485, allocations: 0 / 0.6518 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0003038/0.1488, allocations: 145.8 kB / 0.6519 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1489, allocations: 51.41 kB / 0.652 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.149, allocations: 105.8 kB / 0.6521 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.149, allocations: 30.08 kB / 0.6521 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.149, allocations: 84.08 kB / 0.6522 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.1491, allocations: 51.58 kB / 0.6523 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.1491, allocations: 37.72 kB / 0.6523 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1493, allocations: 330.7 kB / 0.6526 GB, free: 9.848 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.1494, allocations: 59.95 kB / 0.6527 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/0.1495, allocations: 84.09 kB / 0.6527 GB, free: 9.703 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1496, allocations: 133.7 kB / 0.6529 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1497, allocations: 0 / 0.6529 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002565/0.1499, allocations: 200.2 kB / 0.6531 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1499, allocations: 4 kB / 0.6531 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1499, allocations: 0 / 0.6531 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.15, allocations: 4 kB / 0.6531 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1502, allocations: 55.91 kB / 0.6531 GB, free: 9.305 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1502, allocations: 4 kB / 0.6531 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/0.1502, allocations: 15.83 kB / 0.6531 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.1503, allocations: 16.02 kB / 0.6532 GB, free: 9.27 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.656e-05/0.1504, allocations: 118.8 kB / 0.6533 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1504, allocations: 15.83 kB / 0.6533 GB, free: 9.129 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.1504, allocations: 11.97 kB / 0.6533 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1504, allocations: 0 / 0.6533 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1505, allocations: 0 / 0.6533 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1505, allocations: 7.938 kB / 0.6533 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.1507, allocations: 193.7 kB / 0.6535 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1507, allocations: 0 / 0.6535 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.151, allocations: 51.97 kB / 0.6535 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.151, allocations: 4 kB / 0.6535 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.151, allocations: 4 kB / 0.6535 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/0.1511, allocations: 4 kB / 0.6535 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1511, allocations: 0 / 0.6535 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1513, allocations: 251.3 kB / 0.6538 GB, free: 8.543 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1514, allocations: 85.05 kB / 0.6539 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1514, allocations: 4 kB / 0.6539 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.1515, allocations: 11.98 kB / 0.6539 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.1515, allocations: 7.938 kB / 0.6539 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1516, allocations: 4 kB / 0.6539 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.1516, allocations: 83.55 kB / 0.654 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.763e-06/0.1516, allocations: 96 / 0.654 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002436/0.1519, allocations: 27.94 kB / 0.654 GB, free: 8.305 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.0004994/0.1524, allocations: 0.7873 MB / 0.6548 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1526, allocations: 120 kB / 0.6549 GB, free: 7.375 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1526, allocations: 0 / 0.6549 GB, free: 7.375 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.1527, allocations: 47.91 kB / 0.6549 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.1529, allocations: 7.938 kB / 0.6549 GB, free: 7.32 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.1546, allocations: 1.783 MB / 0.6567 GB, free: 5.453 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1548, allocations: 0.6966 MB / 0.6574 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 8.198e-05/0.1549, allocations: 36.52 kB / 0.6574 GB, free: 4.695 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.155, allocations: 23.42 kB / 0.6574 GB, free: 4.672 MB / 0.4983 GB Notification: Performance of SimCode: time 2.61e-07/0.155, allocations: 0 / 0.6574 GB, free: 4.672 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.1753, allocations: 2.265 MB / 0.6596 GB, free: 2.543 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/7.99, allocations: 7.375 kB / 0.6596 GB, free: 2.539 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