Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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: translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 108.5 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.002694/0.002694, allocations: 196.6 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.535/1.535, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.247/1.247, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001487, allocations: 65.47 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2147, allocations: 80.69 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.00319/0.2179, allocations: 1.172 MB / 0.6508 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.2182, allocations: 23.89 kB / 0.6509 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.2182, allocations: 4 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.2184, allocations: 0 / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.248e-05/0.2185, allocations: 3.938 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.2187, allocations: 15.92 kB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.2188, allocations: 51.89 kB / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.2189, allocations: 4 kB / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.219, allocations: 23.97 kB / 0.651 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2191, allocations: 19.97 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.2191, allocations: 3.938 kB / 0.651 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.2191, allocations: 4 kB / 0.651 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.2192, allocations: 15.98 kB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.2193, allocations: 27.84 kB / 0.651 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.2194, allocations: 35.84 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2194, allocations: 4 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2194, allocations: 0 / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.2194, allocations: 0 / 0.6511 GB, free: 11.68 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.0007807/0.2202, allocations: 367.4 kB / 0.6514 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.2203, allocations: 15.89 kB / 0.6514 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.2203, allocations: 8.891 kB / 0.6514 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.2206, allocations: 180.2 kB / 0.6516 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2206, allocations: 8.375 kB / 0.6516 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.2206, allocations: 16.31 kB / 0.6516 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2208, allocations: 74.2 kB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2208, allocations: 4.125 kB / 0.6517 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.2209, allocations: 7.938 kB / 0.6517 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.2209, allocations: 7.938 kB / 0.6517 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.221, allocations: 31.97 kB / 0.6518 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.2216, allocations: 328.8 kB / 0.6521 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.2218, allocations: 118.5 kB / 0.6522 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.2219, allocations: 40.84 kB / 0.6522 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2219, allocations: 0 / 0.6522 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.222, allocations: 30.84 kB / 0.6522 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/0.222, allocations: 0 / 0.6522 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.000334/0.2223, allocations: 145.5 kB / 0.6524 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.2224, allocations: 63.34 kB / 0.6524 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2225, allocations: 97.86 kB / 0.6525 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.2225, allocations: 29.69 kB / 0.6526 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.2226, allocations: 88.08 kB / 0.6527 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.2226, allocations: 47.59 kB / 0.6527 GB, free: 9.797 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.2227, allocations: 37.7 kB / 0.6527 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2228, allocations: 318.8 kB / 0.653 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.2229, allocations: 59.89 kB / 0.6531 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.223, allocations: 91.91 kB / 0.6532 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.2232, allocations: 136.3 kB / 0.6533 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2233, allocations: 0 / 0.6533 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002789/0.2235, allocations: 193.5 kB / 0.6535 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2236, allocations: 8 kB / 0.6535 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2236, allocations: 0 / 0.6535 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2236, allocations: 384 / 0.6535 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.2238, allocations: 63.94 kB / 0.6536 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2238, allocations: 0 / 0.6536 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.2239, allocations: 19.81 kB / 0.6536 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2239, allocations: 11.94 kB / 0.6536 GB, free: 8.848 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.0001123/0.224, allocations: 122.8 kB / 0.6537 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.2241, allocations: 7.891 kB / 0.6537 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.2241, allocations: 19.95 kB / 0.6537 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2241, allocations: 0 / 0.6537 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2241, allocations: 0 / 0.6537 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2241, allocations: 7.938 kB / 0.6537 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.2244, allocations: 189.7 kB / 0.6539 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2244, allocations: 0 / 0.6539 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.2247, allocations: 51.97 kB / 0.654 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2247, allocations: 0 / 0.654 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.2248, allocations: 7.984 kB / 0.654 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2248, allocations: 0 / 0.654 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2248, allocations: 0 / 0.654 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.2251, allocations: 259.3 kB / 0.6542 GB, free: 8.117 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.2252, allocations: 81.05 kB / 0.6543 GB, free: 8.02 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.2252, allocations: 4 kB / 0.6543 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.2253, allocations: 11.98 kB / 0.6543 GB, free: 8.004 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.2253, allocations: 8.078 kB / 0.6543 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2253, allocations: 7.875 kB / 0.6543 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.2254, allocations: 79.28 kB / 0.6544 GB, free: 7.91 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2254, allocations: 0 / 0.6544 GB, free: 7.91 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002514/0.2256, allocations: 24 kB / 0.6544 GB, free: 7.887 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.0001259/0.2258, allocations: 111.7 kB / 0.6545 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.226, allocations: 115.9 kB / 0.6547 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.226, allocations: 0 / 0.6547 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.2261, allocations: 48.19 kB / 0.6547 GB, free: 7.609 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.2263, allocations: 4 kB / 0.6547 GB, free: 7.605 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.2269, allocations: 336 kB / 0.655 GB, free: 7.254 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.2272, allocations: 0.7 MB / 0.6557 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 8.138e-05/0.2273, allocations: 32.52 kB / 0.6557 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.2273, allocations: 15.44 kB / 0.6558 GB, free: 6.477 MB / 0.4983 GB Notification: Performance of SimCode: time 7.81e-07/0.2273, allocations: 0 / 0.6558 GB, free: 6.477 MB / 0.4983 GB Notification: Performance of Templates: time 0.003425/0.2308, allocations: 0.8383 MB / 0.6566 GB, free: 5.648 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches