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.001536/0.001536, allocations: 109.2 kB / 17.06 MB, free: 5.828 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.001619/0.001619, 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.409/1.409, 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 0.9997/0.9997, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 61.62 kB / 0.5704 GB, free: 40.08 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1272, allocations: 80.7 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002356/0.1295, allocations: 1.172 MB / 0.6504 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.1297, allocations: 19.95 kB / 0.6504 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.1297, allocations: 0 / 0.6504 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.815e-05/0.1298, allocations: 11.94 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 2.992e-05/0.1299, allocations: 0 / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.13, allocations: 3.984 kB / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1302, allocations: 63.81 kB / 0.6505 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1302, allocations: 4 kB / 0.6505 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.934e-05/0.1302, allocations: 15.98 kB / 0.6505 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.1303, allocations: 23.97 kB / 0.6505 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.1303, allocations: 0 / 0.6505 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.1304, allocations: 7.938 kB / 0.6505 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.1304, allocations: 19.97 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.1305, allocations: 23.86 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.46e-05/0.1306, allocations: 44.11 kB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1306, allocations: 0 / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.096e-06/0.1306, allocations: 0 / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.1306, allocations: 3.938 kB / 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.0005585/0.1311, allocations: 367.4 kB / 0.6509 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1312, allocations: 15.89 kB / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.1312, allocations: 42.73 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1313, allocations: 8.891 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.1315, allocations: 176.3 kB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1315, allocations: 4.375 kB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1315, allocations: 8.328 kB / 0.6512 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1317, allocations: 78.2 kB / 0.6513 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1317, allocations: 7.938 kB / 0.6513 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1317, allocations: 0 / 0.6513 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1317, allocations: 3.938 kB / 0.6513 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.1318, allocations: 35.91 kB / 0.6513 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.1323, allocations: 312.9 kB / 0.6516 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1325, allocations: 130.4 kB / 0.6517 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.1326, allocations: 40.83 kB / 0.6518 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.1326, allocations: 0 / 0.6518 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1327, allocations: 38.56 kB / 0.6518 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1327, allocations: 4 kB / 0.6518 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0002977/0.133, allocations: 137.7 kB / 0.6519 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.133, allocations: 51.41 kB / 0.652 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.1331, allocations: 105.8 kB / 0.6521 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1331, allocations: 25.7 kB / 0.6521 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.1332, allocations: 88.08 kB / 0.6522 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1332, allocations: 47.59 kB / 0.6522 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.1333, allocations: 37.7 kB / 0.6523 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1335, allocations: 330.8 kB / 0.6526 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1336, allocations: 63.95 kB / 0.6527 GB, free: 9.836 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1337, allocations: 79.55 kB / 0.6527 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.1339, allocations: 141.6 kB / 0.6529 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1339, allocations: 0 / 0.6529 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002905/0.1342, allocations: 200 kB / 0.6531 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1342, allocations: 4 kB / 0.6531 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1342, allocations: 4.031 kB / 0.6531 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1343, allocations: 4 kB / 0.6531 GB, free: 9.398 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.1345, allocations: 47.97 kB / 0.6531 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1345, allocations: 4 kB / 0.6531 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.1346, allocations: 20.02 kB / 0.6531 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1346, allocations: 4 kB / 0.6531 GB, free: 9.324 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 0.0001033/0.1347, allocations: 122.8 kB / 0.6533 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1347, allocations: 15.88 kB / 0.6533 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.1348, allocations: 15.97 kB / 0.6533 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1348, allocations: 0 / 0.6533 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1348, allocations: 384 / 0.6533 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1348, allocations: 7.938 kB / 0.6533 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.1351, allocations: 193.7 kB / 0.6535 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1351, allocations: 0 / 0.6535 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.1354, allocations: 51.92 kB / 0.6535 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1354, allocations: 7.984 kB / 0.6535 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1354, allocations: 0 / 0.6535 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1354, allocations: 11.92 kB / 0.6535 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1354, allocations: 0 / 0.6535 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1358, allocations: 251.3 kB / 0.6538 GB, free: 8.582 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.1358, allocations: 85.05 kB / 0.6539 GB, free: 8.48 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1358, allocations: 11.98 kB / 0.6539 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.1359, allocations: 0 / 0.6539 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.136, allocations: 11.92 kB / 0.6539 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.136, allocations: 4 kB / 0.6539 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.136, allocations: 79.28 kB / 0.654 GB, free: 8.375 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.136, allocations: 4 kB / 0.654 GB, free: 8.371 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002406/0.1363, allocations: 24 kB / 0.654 GB, free: 8.348 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.0006065/0.1369, allocations: 0.7835 MB / 0.6548 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1371, allocations: 123.9 kB / 0.6549 GB, free: 7.418 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1371, allocations: 4.062 kB / 0.6549 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.1372, allocations: 40.55 kB / 0.6549 GB, free: 7.375 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1374, allocations: 11.92 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.001807/0.1393, allocations: 1.79 MB / 0.6567 GB, free: 5.488 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.1396, allocations: 0.7002 MB / 0.6574 GB, free: 4.762 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 8.687e-05/0.1397, allocations: 32.52 kB / 0.6574 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.1398, allocations: 19.44 kB / 0.6574 GB, free: 4.711 MB / 0.4983 GB Notification: Performance of SimCode: time 2.3e-07/0.1398, allocations: 0 / 0.6574 GB, free: 4.711 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.163, allocations: 2.267 MB / 0.6596 GB, free: 2.582 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.072, allocations: 10.38 kB / 0.6596 GB, free: 2.578 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