Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.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("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 172.6 kB / 16.11 MB, free: 5.551 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.304/1.304, allocations: 223.3 MB / 240.1 MB, free: 9.965 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.0008648/0.0008653, allocations: 98.95 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8616/0.8616, allocations: 122.9 MB / 465.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.09632/0.09632, allocations: 20.29 MB / 0.549 GB, free: 19.22 MB / 378.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005905/0.0005905, allocations: 24 kB / 0.6406 GB, free: 5.852 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5057, allocations: 81.83 MB / 0.7205 GB, free: 40.03 MB / 490.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.6809, allocations: 116.2 MB / 0.834 GB, free: 9.57 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.6812, allocations: 75.67 kB / 0.8341 GB, free: 9.5 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.008959/0.6902, allocations: 3.158 MB / 0.8372 GB, free: 6.336 MB / 0.5418 GB Notification: Performance of FrontEnd: time 3.456e-06/0.6903, allocations: 0.5312 kB / 0.8372 GB, free: 6.336 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.6903, allocations: 0 / 0.8372 GB, free: 6.336 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004059/0.6907, allocations: 340.7 kB / 0.8375 GB, free: 5.953 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.6908, allocations: 8.031 kB / 0.8375 GB, free: 5.945 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.6908, allocations: 5.75 kB / 0.8375 GB, free: 5.941 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.691, allocations: 168.3 kB / 0.8377 GB, free: 5.738 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.6911, allocations: 1 kB / 0.8377 GB, free: 5.738 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.6911, allocations: 0.9375 kB / 0.8377 GB, free: 5.738 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.6912, allocations: 42.27 kB / 0.8377 GB, free: 5.695 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6913, allocations: 192 / 0.8377 GB, free: 5.695 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.6913, allocations: 3.938 kB / 0.8377 GB, free: 5.691 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.6913, allocations: 4.609 kB / 0.8377 GB, free: 5.688 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.663e-05/0.6914, allocations: 9.219 kB / 0.8377 GB, free: 5.68 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.6916, allocations: 149.7 kB / 0.8379 GB, free: 5.484 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/0.6917, allocations: 32.8 kB / 0.8379 GB, free: 5.445 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.6917, allocations: 8.891 kB / 0.8379 GB, free: 5.434 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.6917, allocations: 4 kB / 0.8379 GB, free: 5.43 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.6918, allocations: 41.61 kB / 0.838 GB, free: 5.383 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 2.335e-06/0.6918, allocations: 0 / 0.838 GB, free: 5.383 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.0001846/0.692, allocations: 53.61 kB / 0.838 GB, free: 5.324 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.692, allocations: 51.41 kB / 0.8381 GB, free: 5.262 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.6921, allocations: 97.86 kB / 0.8381 GB, free: 5.156 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.6921, allocations: 25.7 kB / 0.8382 GB, free: 5.125 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.6922, allocations: 80.7 kB / 0.8382 GB, free: 5.043 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.6922, allocations: 8.719 kB / 0.8383 GB, free: 5.035 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.6923, allocations: 0 / 0.8383 GB, free: 5.035 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6924, allocations: 319.3 kB / 0.8386 GB, free: 4.715 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.6924, allocations: 4.656 kB / 0.8386 GB, free: 4.711 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.6924, allocations: 8 kB / 0.8386 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.6925, allocations: 29.45 kB / 0.8386 GB, free: 4.672 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6925, allocations: 1.25 kB / 0.8386 GB, free: 4.672 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.385e-05/0.6926, allocations: 49.69 kB / 0.8387 GB, free: 4.617 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6926, allocations: 7.984 kB / 0.8387 GB, free: 4.609 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6926, allocations: 7.312 kB / 0.8387 GB, free: 4.605 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6927, allocations: 0 / 0.8387 GB, free: 4.605 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.6927, allocations: 0 / 0.8387 GB, free: 4.605 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6927, allocations: 0 / 0.8387 GB, free: 4.605 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.6927, allocations: 3.906 kB / 0.8387 GB, free: 4.602 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.6927, allocations: 4 kB / 0.8387 GB, free: 4.598 MB / 0.5418 GB 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.852e-05/0.6928, allocations: 105.8 kB / 0.8388 GB, free: 4.484 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.6928, allocations: 3.094 kB / 0.8388 GB, free: 4.484 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.6929, allocations: 13.12 kB / 0.8388 GB, free: 4.469 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.6929, allocations: 3.984 kB / 0.8388 GB, free: 4.465 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6929, allocations: 0 / 0.8388 GB, free: 4.465 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6929, allocations: 0 / 0.8388 GB, free: 4.465 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.693, allocations: 149.6 kB / 0.8389 GB, free: 4.27 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.693, allocations: 0 / 0.8389 GB, free: 4.27 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.693, allocations: 0 / 0.8389 GB, free: 4.27 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.6931, allocations: 7.984 kB / 0.8389 GB, free: 4.262 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6931, allocations: 8.156 kB / 0.839 GB, free: 4.254 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6931, allocations: 0 / 0.839 GB, free: 4.254 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6931, allocations: 0 / 0.839 GB, free: 4.254 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.6932, allocations: 69.44 kB / 0.839 GB, free: 4.168 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.6933, allocations: 81.11 kB / 0.8391 GB, free: 4.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.6933, allocations: 3.938 kB / 0.8391 GB, free: 4.066 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.6933, allocations: 0 / 0.8391 GB, free: 4.066 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.6933, allocations: 0 / 0.8391 GB, free: 4.066 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.6933, allocations: 4.031 kB / 0.8391 GB, free: 4.062 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.6934, allocations: 83.28 kB / 0.8392 GB, free: 3.98 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6934, allocations: 0.75 kB / 0.8392 GB, free: 3.98 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002726/0.6937, allocations: 19.98 kB / 0.8392 GB, free: 3.961 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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 0.0002102/0.6939, allocations: 111.2 kB / 0.8393 GB, free: 3.844 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 8.392e-05/0.694, allocations: 19.92 kB / 0.8393 GB, free: 3.824 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.694, allocations: 0 / 0.8393 GB, free: 3.824 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.694, allocations: 16.14 kB / 0.8393 GB, free: 3.809 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.6942, allocations: 1.125 kB / 0.8393 GB, free: 3.809 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.6944, allocations: 98.66 kB / 0.8394 GB, free: 3.684 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.6948, allocations: 0.677 MB / 0.8401 GB, free: 2.98 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.6948, allocations: 4 kB / 0.8401 GB, free: 2.977 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.6948, allocations: 7.438 kB / 0.8401 GB, free: 2.969 MB / 0.5418 GB Notification: Performance of SimCode: time 4.91e-07/0.6948, allocations: 0 / 0.8401 GB, free: 2.969 MB / 0.5418 GB Notification: Performance of Templates: time 0.003763/0.6986, allocations: 0.6019 MB / 0.8407 GB, free: 2.375 MB / 0.5418 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1)