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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002344/0.002344, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9779/0.9779, allocations: 120.6 MB / 434.5 MB, free: 0.8555 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 71.83 kB / 0.6067 GB, free: 10.96 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1493, allocations: 85.86 MB / 0.6906 GB, free: 4.883 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002517/0.1518, allocations: 1.191 MB / 0.6917 GB, free: 3.684 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001743/0.152, allocations: 19.95 kB / 0.6918 GB, free: 3.664 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.152, allocations: 7.938 kB / 0.6918 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.479e-05/0.1521, allocations: 0 / 0.6918 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.1522, allocations: 0 / 0.6918 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1523, allocations: 19.91 kB / 0.6918 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1525, allocations: 51.95 kB / 0.6918 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.668e-05/0.1525, allocations: 3.984 kB / 0.6918 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.1526, allocations: 15.98 kB / 0.6919 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.1527, allocations: 31.91 kB / 0.6919 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1527, allocations: 0 / 0.6919 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.1527, allocations: 7.938 kB / 0.6919 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.1527, allocations: 19.98 kB / 0.6919 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.1528, allocations: 27.84 kB / 0.6919 GB, free: 3.48 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.396e-05/0.1529, allocations: 32.12 kB / 0.692 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1529, allocations: 0 / 0.692 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.506e-06/0.1529, allocations: 3.984 kB / 0.692 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.1529, allocations: 0 / 0.692 GB, free: 3.445 MB / 0.5139 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.0006197/0.1535, allocations: 298.2 kB / 0.6923 GB, free: 3.121 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1536, allocations: 16.03 kB / 0.6923 GB, free: 3.105 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.1536, allocations: 30.75 kB / 0.6923 GB, free: 3.066 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.1537, allocations: 4.938 kB / 0.6923 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1538, allocations: 126.4 kB / 0.6924 GB, free: 2.914 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1539, allocations: 384 / 0.6924 GB, free: 2.914 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.1539, allocations: 12.38 kB / 0.6924 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1541, allocations: 82.14 kB / 0.6925 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1541, allocations: 3.938 kB / 0.6925 GB, free: 2.812 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1541, allocations: 4 kB / 0.6925 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1541, allocations: 0 / 0.6925 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.1542, allocations: 39.97 kB / 0.6926 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.1547, allocations: 287.9 kB / 0.6928 GB, free: 2.445 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.1549, allocations: 126.3 kB / 0.693 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.155, allocations: 44.83 kB / 0.693 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.155, allocations: 0 / 0.693 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.155, allocations: 34.56 kB / 0.693 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.155, allocations: 4 kB / 0.693 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of matching and sorting (n=10): time 0.0002985/0.1553, allocations: 141.8 kB / 0.6932 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1553, allocations: 51.41 kB / 0.6932 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.1554, allocations: 101.8 kB / 0.6933 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1554, allocations: 29.7 kB / 0.6934 GB, free: 1.867 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.1555, allocations: 84.2 kB / 0.6934 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.1555, allocations: 47.58 kB / 0.6935 GB, free: 1.734 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.1556, allocations: 45.7 kB / 0.6935 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1557, allocations: 323.2 kB / 0.6938 GB, free: 1.359 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.452e-05/0.1558, allocations: 59.95 kB / 0.6939 GB, free: 1.301 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1559, allocations: 87.3 kB / 0.694 GB, free: 1.211 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.1562, allocations: 140.5 kB / 0.6941 GB, free: 1.07 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1562, allocations: 0 / 0.6941 GB, free: 1.07 MB / 0.5139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002808/0.1564, allocations: 193.5 kB / 0.6943 GB, free: 0.875 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1564, allocations: 8.031 kB / 0.6943 GB, free: 0.8672 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1565, allocations: 0 / 0.6943 GB, free: 0.8672 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1565, allocations: 0 / 0.6943 GB, free: 0.8672 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.1567, allocations: 55.97 kB / 0.6944 GB, free: 0.8125 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1567, allocations: 3.938 kB / 0.6944 GB, free: 0.8086 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.1567, allocations: 19.83 kB / 0.6944 GB, free: 0.7891 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1567, allocations: 8 kB / 0.6944 GB, free: 0.7812 MB / 0.5139 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.442e-05/0.1568, allocations: 117.8 kB / 0.6945 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1569, allocations: 11.95 kB / 0.6945 GB, free: 0.6445 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.1569, allocations: 12.06 kB / 0.6945 GB, free: 0.6289 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1569, allocations: 0 / 0.6945 GB, free: 0.6289 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1569, allocations: 384 / 0.6945 GB, free: 0.6289 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1569, allocations: 3.938 kB / 0.6945 GB, free: 0.625 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.1572, allocations: 168.8 kB / 0.6947 GB, free: 428 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1572, allocations: 0 / 0.6947 GB, free: 428 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.1575, allocations: 55.84 kB / 0.6947 GB, free: 372 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1575, allocations: 0 / 0.6947 GB, free: 372 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1575, allocations: 8 kB / 0.6947 GB, free: 364 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1575, allocations: 8 kB / 0.6948 GB, free: 356 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1575, allocations: 0 / 0.6948 GB, free: 356 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.1578, allocations: 247.3 kB / 0.695 GB, free: 92 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.1578, allocations: 15.89 kB / 0.695 GB, free: 76 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1578, allocations: 7.984 kB / 0.695 GB, free: 68 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.1579, allocations: 8 kB / 0.695 GB, free: 60 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.1579, allocations: 11.92 kB / 0.695 GB, free: 48 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1579, allocations: 0 / 0.695 GB, free: 48 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.158, allocations: 91.27 kB / 0.6951 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.158, allocations: 0 / 0.6951 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002349/0.1582, allocations: 23.94 kB / 0.6951 GB, free: 15.93 MB / 0.5295 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.0005969/0.1588, allocations: 0.7788 MB / 0.6959 GB, free: 15.13 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.1591, allocations: 126.7 kB / 0.696 GB, free: 15.01 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1591, allocations: 0 / 0.696 GB, free: 15.01 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-05/0.1591, allocations: 44.47 kB / 0.6961 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.1593, allocations: 11.94 kB / 0.6961 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.1611, allocations: 1.772 MB / 0.6978 GB, free: 13.1 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1615, allocations: 0.6961 MB / 0.6985 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 8.189e-05/0.1615, allocations: 36.56 kB / 0.6985 GB, free: 12.34 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.1616, allocations: 31.69 kB / 0.6986 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of SimCode: time 3.9e-07/0.1616, allocations: 0 / 0.6986 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.1913, allocations: 2.443 MB / 0.7009 GB, free: 10 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.84, allocations: 15.86 kB / 0.701 GB, free: 9.988 MB / 0.5295 GB " [Timeout remaining time 289] (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 --stepSize=0.0008 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) [Timeout 315.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.636190654011443]