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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 190.4 kB / 17.27 MB, free: 4.477 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.0009188, allocations: 100.3 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 1.056/1.056, allocations: 119.3 MB / 460.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 47.92 kB / 0.5391 GB, free: 43.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2195, allocations: 80.68 MB / 0.6179 GB, free: 12.73 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002715/0.2223, allocations: 1.25 MB / 0.6191 GB, free: 11.47 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002233/0.2225, allocations: 19.97 kB / 0.6191 GB, free: 11.45 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.2226, allocations: 0 / 0.6191 GB, free: 11.45 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2227, allocations: 3.938 kB / 0.6192 GB, free: 11.45 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.2228, allocations: 7.984 kB / 0.6192 GB, free: 11.44 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.2229, allocations: 4 kB / 0.6192 GB, free: 11.44 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.223, allocations: 55.89 kB / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.507e-05/0.2231, allocations: 0 / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.2232, allocations: 27.91 kB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.2232, allocations: 19.97 kB / 0.6193 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.2233, allocations: 4 kB / 0.6193 GB, free: 11.33 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.462e-05/0.2233, allocations: 4 kB / 0.6193 GB, free: 11.33 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.2234, allocations: 15.92 kB / 0.6193 GB, free: 11.31 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.2234, allocations: 23.91 kB / 0.6193 GB, free: 11.29 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 9.199e-05/0.2235, allocations: 27.91 kB / 0.6193 GB, free: 11.26 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2235, allocations: 0 / 0.6193 GB, free: 11.26 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.031e-06/0.2235, allocations: 0 / 0.6193 GB, free: 11.26 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2235, allocations: 4 kB / 0.6193 GB, free: 11.26 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007623/0.2243, allocations: 371.7 kB / 0.6197 GB, free: 10.84 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.2244, allocations: 12.03 kB / 0.6197 GB, free: 10.83 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.2244, allocations: 0.9375 kB / 0.6197 GB, free: 10.83 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.2247, allocations: 180.2 kB / 0.6199 GB, free: 10.62 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2247, allocations: 12.25 kB / 0.6199 GB, free: 10.61 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.2247, allocations: 12.38 kB / 0.6199 GB, free: 10.59 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2249, allocations: 78.2 kB / 0.62 GB, free: 10.51 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2249, allocations: 4.172 kB / 0.62 GB, free: 10.51 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2249, allocations: 3.938 kB / 0.62 GB, free: 10.5 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.225, allocations: 3.938 kB / 0.62 GB, free: 10.5 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.746e-05/0.225, allocations: 27.98 kB / 0.62 GB, free: 10.47 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.2254, allocations: 189.6 kB / 0.6202 GB, free: 10.24 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.2256, allocations: 118.5 kB / 0.6203 GB, free: 10.11 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.2257, allocations: 40.83 kB / 0.6203 GB, free: 10.07 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.2257, allocations: 4 kB / 0.6203 GB, free: 10.07 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2258, allocations: 34.88 kB / 0.6204 GB, free: 10.02 MB / 442.8 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.2258, allocations: 0 / 0.6204 GB, free: 10.02 MB / 442.8 MB Notification: Performance of matching and sorting (n=10): time 0.0003028/0.2261, allocations: 145.4 kB / 0.6205 GB, free: 9.875 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.2262, allocations: 55.41 kB / 0.6206 GB, free: 9.809 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.33e-05/0.2263, allocations: 97.84 kB / 0.6207 GB, free: 9.703 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.2263, allocations: 33.7 kB / 0.6207 GB, free: 9.664 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.2263, allocations: 80.22 kB / 0.6208 GB, free: 9.582 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.2264, allocations: 55.28 kB / 0.6208 GB, free: 9.527 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.2265, allocations: 37.66 kB / 0.6209 GB, free: 9.484 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2266, allocations: 318.8 kB / 0.6212 GB, free: 9.164 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.051e-05/0.2267, allocations: 59.95 kB / 0.6212 GB, free: 9.105 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.2268, allocations: 55.95 kB / 0.6213 GB, free: 9.051 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.227, allocations: 131.9 kB / 0.6214 GB, free: 8.922 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.227, allocations: 4 kB / 0.6214 GB, free: 8.918 MB / 442.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002395/0.2272, allocations: 193.4 kB / 0.6216 GB, free: 8.723 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2273, allocations: 4 kB / 0.6216 GB, free: 8.719 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2273, allocations: 7.938 kB / 0.6216 GB, free: 8.711 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2273, allocations: 4 kB / 0.6216 GB, free: 8.707 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.2275, allocations: 48.36 kB / 0.6217 GB, free: 8.66 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2275, allocations: 0 / 0.6217 GB, free: 8.66 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.2276, allocations: 11.89 kB / 0.6217 GB, free: 8.648 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.2276, allocations: 8 kB / 0.6217 GB, free: 8.641 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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.485e-05/0.2277, allocations: 129.7 kB / 0.6218 GB, free: 8.504 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.2277, allocations: 7.984 kB / 0.6218 GB, free: 8.496 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.2278, allocations: 15.91 kB / 0.6218 GB, free: 8.477 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2278, allocations: 7.938 kB / 0.6218 GB, free: 8.469 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2278, allocations: 0 / 0.6218 GB, free: 8.469 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2278, allocations: 0 / 0.6218 GB, free: 8.469 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.228, allocations: 193.5 kB / 0.622 GB, free: 8.23 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.228, allocations: 0 / 0.622 GB, free: 8.23 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.2283, allocations: 51.97 kB / 0.6221 GB, free: 8.18 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2283, allocations: 192 / 0.6221 GB, free: 8.18 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.2283, allocations: 15.92 kB / 0.6221 GB, free: 8.164 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2283, allocations: 0 / 0.6221 GB, free: 8.164 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2283, allocations: 3.938 kB / 0.6221 GB, free: 8.16 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.2301, allocations: 1.408 MB / 0.6235 GB, free: 6.609 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.2302, allocations: 88.95 kB / 0.6235 GB, free: 6.504 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.2302, allocations: 7.938 kB / 0.6235 GB, free: 6.496 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.997e-05/0.2303, allocations: 11.98 kB / 0.6236 GB, free: 6.484 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.2303, allocations: 8.5 kB / 0.6236 GB, free: 6.477 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.2303, allocations: 7.984 kB / 0.6236 GB, free: 6.469 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.2303, allocations: 75.28 kB / 0.6236 GB, free: 6.395 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2304, allocations: 0 / 0.6236 GB, free: 6.395 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002427/0.2306, allocations: 32 kB / 0.6237 GB, free: 6.363 MB / 442.8 MB 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.0001095/0.2307, allocations: 103.2 kB / 0.6238 GB, free: 6.25 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.2309, allocations: 121.9 kB / 0.6239 GB, free: 6.133 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2309, allocations: 0 / 0.6239 GB, free: 6.133 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.231, allocations: 51.91 kB / 0.6239 GB, free: 6.082 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.2312, allocations: 0 / 0.6239 GB, free: 6.082 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.2318, allocations: 488.1 kB / 0.6244 GB, free: 5.559 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2322, allocations: 0.7004 MB / 0.6251 GB, free: 4.832 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 9.07e-05/0.2322, allocations: 40.38 kB / 0.6251 GB, free: 4.793 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.2323, allocations: 15.42 kB / 0.6251 GB, free: 4.777 MB / 442.8 MB Notification: Performance of SimCode: time 2.3e-07/0.2323, allocations: 0 / 0.6251 GB, free: 4.777 MB / 442.8 MB Notification: Performance of Templates: time 0.003269/0.2356, allocations: 1.134 MB / 0.6263 GB, free: 3.648 MB / 442.8 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches