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.03558/0.03558, allocations: 113 kB / 18.49 MB, free: 4.598 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.00169/0.00169, allocations: 213.4 kB / 21.45 MB, free: 1.652 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 2.244/2.244, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 177] 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.9904/0.9904, allocations: 120.6 MB / 431.5 MB, free: 148 kB / 350.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="cs",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.00196/0.00196, allocations: 67.89 kB / 0.6022 GB, free: 11.53 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7834, allocations: 85.82 MB / 0.686 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002574/0.7859, allocations: 1.188 MB / 0.6872 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.00021/0.7861, allocations: 25.27 kB / 0.6872 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.7862, allocations: 5.25 kB / 0.6872 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.7863, allocations: 0 / 0.6872 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.7863, allocations: 3.938 kB / 0.6872 GB, free: 10.17 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.7865, allocations: 10.52 kB / 0.6872 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.7867, allocations: 59.91 kB / 0.6873 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.7867, allocations: 4.891 kB / 0.6873 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.7868, allocations: 19.94 kB / 0.6873 GB, free: 10.12 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.7868, allocations: 21.19 kB / 0.6873 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.7869, allocations: 2.781 kB / 0.6873 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.7869, allocations: 2.75 kB / 0.6873 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.7869, allocations: 26.38 kB / 0.6873 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.787, allocations: 20.23 kB / 0.6874 GB, free: 10.08 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.7871, allocations: 46.12 kB / 0.6874 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.7871, allocations: 0.9062 kB / 0.6874 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7871, allocations: 0 / 0.6874 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.7871, allocations: 0 / 0.6874 GB, free: 10.05 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.001234/0.7884, allocations: 378.4 kB / 0.6878 GB, free: 9.664 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.7884, allocations: 10.12 kB / 0.6878 GB, free: 9.664 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.734e-05/0.7884, allocations: 5.109 kB / 0.6878 GB, free: 9.66 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.7885, allocations: 36.59 kB / 0.6878 GB, free: 9.617 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.7885, allocations: 4.625 kB / 0.6878 GB, free: 9.617 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.7887, allocations: 183.6 kB / 0.688 GB, free: 9.406 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.7887, allocations: 6.219 kB / 0.688 GB, free: 9.402 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.7887, allocations: 5 kB / 0.688 GB, free: 9.402 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.7889, allocations: 81.92 kB / 0.6881 GB, free: 9.34 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7889, allocations: 0 / 0.6881 GB, free: 9.34 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7889, allocations: 4.938 kB / 0.6881 GB, free: 9.336 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7889, allocations: 0.9062 kB / 0.6881 GB, free: 9.336 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.789, allocations: 33.5 kB / 0.6881 GB, free: 9.32 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.7895, allocations: 329.3 kB / 0.6884 GB, free: 9 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.7897, allocations: 112.7 kB / 0.6885 GB, free: 8.938 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.7898, allocations: 39.3 kB / 0.6886 GB, free: 8.914 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.7898, allocations: 5.016 kB / 0.6886 GB, free: 8.91 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.7898, allocations: 44.56 kB / 0.6886 GB, free: 8.859 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.7898, allocations: 0 / 0.6886 GB, free: 8.859 MB / 0.5139 GB Notification: Performance of matching and sorting (n=10): time 0.0007495/0.7906, allocations: 134.1 kB / 0.6888 GB, free: 8.785 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.7906, allocations: 52.34 kB / 0.6888 GB, free: 8.723 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.7907, allocations: 103.8 kB / 0.6889 GB, free: 8.617 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.7907, allocations: 26.61 kB / 0.6889 GB, free: 8.586 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.7907, allocations: 89.03 kB / 0.689 GB, free: 8.496 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.7908, allocations: 58.03 kB / 0.6891 GB, free: 8.445 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.7908, allocations: 34.56 kB / 0.6891 GB, free: 8.418 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.7909, allocations: 325.5 kB / 0.6894 GB, free: 8.094 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.791, allocations: 61.95 kB / 0.6895 GB, free: 8.066 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.7911, allocations: 82.28 kB / 0.6896 GB, free: 8.02 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.7913, allocations: 143.8 kB / 0.6897 GB, free: 7.941 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7913, allocations: 5.125 kB / 0.6897 GB, free: 7.938 MB / 0.5139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002773/0.7916, allocations: 192.2 kB / 0.6899 GB, free: 7.836 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.7916, allocations: 5.531 kB / 0.6899 GB, free: 7.836 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.7916, allocations: 0.9375 kB / 0.6899 GB, free: 7.836 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/0.792, allocations: 0.9062 kB / 0.6899 GB, free: 7.836 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.7922, allocations: 55.31 kB / 0.6899 GB, free: 7.824 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7923, allocations: 5.25 kB / 0.6899 GB, free: 7.82 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.7923, allocations: 9.344 kB / 0.69 GB, free: 7.816 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.7923, allocations: 2.812 kB / 0.69 GB, free: 7.816 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 8.207e-05/0.7924, allocations: 132.9 kB / 0.6901 GB, free: 7.684 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.7924, allocations: 7.859 kB / 0.6901 GB, free: 7.68 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.7925, allocations: 11.97 kB / 0.6901 GB, free: 7.66 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.7925, allocations: 5.453 kB / 0.6901 GB, free: 7.656 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7925, allocations: 3.938 kB / 0.6901 GB, free: 7.652 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7925, allocations: 1.438 kB / 0.6901 GB, free: 7.652 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.7927, allocations: 197.7 kB / 0.6903 GB, free: 7.434 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7927, allocations: 0.9375 kB / 0.6903 GB, free: 7.434 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.793, allocations: 53.44 kB / 0.6904 GB, free: 7.422 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.793, allocations: 5.031 kB / 0.6904 GB, free: 7.418 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.793, allocations: 3.281 kB / 0.6904 GB, free: 7.418 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.793, allocations: 1.094 kB / 0.6904 GB, free: 7.418 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.793, allocations: 3.938 kB / 0.6904 GB, free: 7.414 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.7933, allocations: 241.2 kB / 0.6906 GB, free: 7.234 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.7934, allocations: 91.08 kB / 0.6907 GB, free: 7.129 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.7934, allocations: 7.281 kB / 0.6907 GB, free: 7.125 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.7935, allocations: 15.45 kB / 0.6907 GB, free: 7.113 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.7935, allocations: 6.312 kB / 0.6907 GB, free: 7.109 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.7935, allocations: 6.969 kB / 0.6907 GB, free: 7.105 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.7935, allocations: 86.39 kB / 0.6908 GB, free: 7.023 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.7935, allocations: 0 / 0.6908 GB, free: 7.023 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002386/0.7938, allocations: 26.56 kB / 0.6908 GB, free: 7.016 MB / 0.5139 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.00045/0.7942, allocations: 0.7733 MB / 0.6916 GB, free: 6.305 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0005132/0.7947, allocations: 117.2 kB / 0.6917 GB, free: 6.258 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7947, allocations: 0 / 0.6917 GB, free: 6.258 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.7948, allocations: 45.16 kB / 0.6917 GB, free: 6.238 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.795, allocations: 12.66 kB / 0.6917 GB, free: 6.23 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.7967, allocations: 1.783 MB / 0.6935 GB, free: 4.734 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.7969, allocations: 0.7024 MB / 0.6942 GB, free: 4.023 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 8.692e-05/0.797, allocations: 37.92 kB / 0.6942 GB, free: 4.008 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.797, allocations: 28.48 kB / 0.6942 GB, free: 3.984 MB / 0.5139 GB Notification: Performance of SimCode: time 2.61e-07/0.797, allocations: 0 / 0.6942 GB, free: 3.984 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.8309, allocations: 2.304 MB / 0.6965 GB, free: 2.832 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.583/10.41, allocations: 18.12 kB / 0.6965 GB, free: 2.82 MB / 0.5139 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] "" Variables in the reference:der(x[10]),der(x[1]),der(x[2]),der(x[3]),der(x[4]),der(x[5]),der(x[6]),der(x[7]),der(x[8]),der(x[9]),time,time,x[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9] Variables in the result:N,T,der(x[10]),der(x[1]),der(x[2]),der(x[3]),der(x[4]),der(x[5]),der(x[6]),der(x[7]),der(x[8]),der(x[9]),tau,time,u,x[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9] [Calling sys.exit(0), Time elapsed: 15.68707814096706]