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.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 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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 186.1 kB / 8.129 MB, free: 2.078 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.129/1.129, allocations: 221.4 MB / 229.9 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 92.98 kB / 280.8 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6649/0.6649, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.518e-06/4.548e-06, allocations: 0 / 0.5282 GB, free: 52.51 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 82.84 MB / 0.6091 GB, free: 3.586 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.615, allocations: 124.4 MB / 0.7306 GB, free: 5.211 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001073/0.6151, allocations: 47.05 kB / 0.7306 GB, free: 5.195 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.002685/0.6178, allocations: 0.6708 MB / 0.7313 GB, free: 4.828 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.6178, allocations: 0 / 0.7313 GB, free: 4.828 MB / 0.4953 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.0002772/0.6181, allocations: 359.2 kB / 0.7316 GB, free: 4.445 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.6181, allocations: 10.77 kB / 0.7316 GB, free: 4.438 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.6182, allocations: 7.906 kB / 0.7316 GB, free: 4.43 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.6184, allocations: 182.1 kB / 0.7318 GB, free: 4.211 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.6184, allocations: 5.75 kB / 0.7318 GB, free: 4.207 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.6184, allocations: 4 kB / 0.7318 GB, free: 4.203 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.914e-05/0.6185, allocations: 29.97 kB / 0.7319 GB, free: 4.184 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.6186, allocations: 74.77 kB / 0.7319 GB, free: 4.129 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6186, allocations: 4 kB / 0.7319 GB, free: 4.125 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6186, allocations: 3.469 kB / 0.7319 GB, free: 4.125 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6186, allocations: 3.906 kB / 0.7319 GB, free: 4.121 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.619, allocations: 290.7 kB / 0.7322 GB, free: 3.832 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.6192, allocations: 119.1 kB / 0.7323 GB, free: 3.746 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.6193, allocations: 38.95 kB / 0.7324 GB, free: 3.715 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.6193, allocations: 4 kB / 0.7324 GB, free: 3.711 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.6193, allocations: 34.56 kB / 0.7324 GB, free: 3.668 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.6193, allocations: 0 / 0.7324 GB, free: 3.668 MB / 0.4953 GB Notification: Performance of matching and sorting (n=10): time 0.0002077/0.6195, allocations: 105 kB / 0.7325 GB, free: 3.586 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.6196, allocations: 58.59 kB / 0.7326 GB, free: 3.52 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.414e-05/0.6196, allocations: 92.12 kB / 0.7326 GB, free: 3.426 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.6196, allocations: 25.7 kB / 0.7327 GB, free: 3.395 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.6196, allocations: 84.27 kB / 0.7328 GB, free: 3.305 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.6197, allocations: 55.5 kB / 0.7328 GB, free: 3.266 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.6197, allocations: 96 / 0.7328 GB, free: 3.266 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6198, allocations: 321.1 kB / 0.7331 GB, free: 18.95 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.6199, allocations: 57.59 kB / 0.7332 GB, free: 18.91 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.62, allocations: 78.67 kB / 0.7332 GB, free: 18.86 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.411e-05/0.62, allocations: 84.56 kB / 0.7333 GB, free: 18.81 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.62, allocations: 0 / 0.7333 GB, free: 18.81 MB / 0.5109 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000197/0.6202, allocations: 188.9 kB / 0.7335 GB, free: 18.67 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.6203, allocations: 4 kB / 0.7335 GB, free: 18.66 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6203, allocations: 4 kB / 0.7335 GB, free: 18.66 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.6203, allocations: 0 / 0.7335 GB, free: 18.66 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.6205, allocations: 54.64 kB / 0.7336 GB, free: 18.61 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.6205, allocations: 0 / 0.7336 GB, free: 18.61 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.6206, allocations: 11.84 kB / 0.7336 GB, free: 18.6 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.6206, allocations: 8.812 kB / 0.7336 GB, free: 18.6 MB / 0.5109 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.6206, allocations: 104.1 kB / 0.7337 GB, free: 18.49 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.6207, allocations: 12.12 kB / 0.7337 GB, free: 18.48 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.6207, allocations: 14.42 kB / 0.7337 GB, free: 18.46 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6207, allocations: 0 / 0.7337 GB, free: 18.46 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6207, allocations: 0 / 0.7337 GB, free: 18.46 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.6207, allocations: 4 kB / 0.7337 GB, free: 18.46 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.6209, allocations: 173.8 kB / 0.7339 GB, free: 18.27 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.621, allocations: 0 / 0.7339 GB, free: 18.27 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.6212, allocations: 49.66 kB / 0.7339 GB, free: 18.23 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6213, allocations: 0 / 0.7339 GB, free: 18.23 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.6213, allocations: 8.969 kB / 0.7339 GB, free: 18.23 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6213, allocations: 8 kB / 0.7339 GB, free: 18.22 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6213, allocations: 3.938 kB / 0.7339 GB, free: 18.21 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002069/0.6215, allocations: 236.6 kB / 0.7342 GB, free: 18 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.6215, allocations: 85.7 kB / 0.7343 GB, free: 17.9 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.6216, allocations: 5.406 kB / 0.7343 GB, free: 17.9 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.6216, allocations: 5.078 kB / 0.7343 GB, free: 17.89 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.6217, allocations: 5.531 kB / 0.7343 GB, free: 17.89 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.6217, allocations: 4.75 kB / 0.7343 GB, free: 17.89 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.044e-05/0.6217, allocations: 84.12 kB / 0.7344 GB, free: 17.81 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002251/0.622, allocations: 16 kB / 0.7344 GB, free: 17.79 MB / 0.5109 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.471e-05/0.6221, allocations: 102.2 kB / 0.7345 GB, free: 17.69 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.6222, allocations: 127.5 kB / 0.7346 GB, free: 17.59 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6222, allocations: 3.938 kB / 0.7346 GB, free: 17.59 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.6223, allocations: 37.06 kB / 0.7346 GB, free: 17.57 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.6224, allocations: 11.91 kB / 0.7346 GB, free: 17.56 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.6228, allocations: 269.7 kB / 0.7349 GB, free: 17.33 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.623, allocations: 0.7183 MB / 0.7356 GB, free: 16.6 MB / 0.5109 GB Notification: Performance of SimCode: time 3e-07/0.623, allocations: 0 / 0.7356 GB, free: 16.6 MB / 0.5109 GB Notification: Performance of Templates: time 0.002349/0.6254, allocations: 0.9835 MB / 0.7366 GB, free: 15.64 MB / 0.5109 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/jenkins/ws/OpenModelicaLibraryTestingWork/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