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/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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/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/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009608/0.009608, allocations: 1.434 MB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1292/0.1292, allocations: 22.37 MB / 41.15 MB, free: 7.777 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 102.9 kB / 48.64 MB, free: 272 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 189.2 kB / 56.24 MB, free: 9.48 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 286.6 MB, free: 13.96 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.938/0.938, allocations: 127.8 MB / 471.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003162/0.003162, allocations: 128.3 kB / 0.6359 GB, free: 13.27 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.6842, allocations: 82.34 MB / 0.7163 GB, free: 9.73 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002248/0.6865, allocations: 1.014 MB / 0.7173 GB, free: 8.977 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0005897/0.6871, allocations: 211.4 kB / 0.7175 GB, free: 8.816 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.6872, allocations: 5.438 kB / 0.7175 GB, free: 8.812 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 9.124e-05/0.6873, allocations: 0 / 0.7175 GB, free: 8.812 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-06/0.6873, allocations: 0 / 0.7175 GB, free: 8.812 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.6878, allocations: 71.11 kB / 0.7176 GB, free: 8.77 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.6878, allocations: 9.453 kB / 0.7176 GB, free: 8.762 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.6879, allocations: 1.438 kB / 0.7176 GB, free: 8.762 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.6879, allocations: 5.406 kB / 0.7176 GB, free: 8.758 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 2.295e-05/0.6879, allocations: 1.438 kB / 0.7176 GB, free: 8.758 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.688, allocations: 0 / 0.7176 GB, free: 8.758 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.6882, allocations: 89.58 kB / 0.7177 GB, free: 8.703 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.6882, allocations: 5.531 kB / 0.7177 GB, free: 8.699 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.6882, allocations: 5.469 kB / 0.7177 GB, free: 8.695 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.6884, allocations: 49.44 kB / 0.7178 GB, free: 8.664 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6884, allocations: 0 / 0.7178 GB, free: 8.664 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6884, allocations: 0 / 0.7178 GB, free: 8.664 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6884, allocations: 0 / 0.7178 GB, free: 8.664 MB / 0.5138 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.000425/0.6888, allocations: 328.4 kB / 0.7181 GB, free: 8.301 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.6889, allocations: 9.25 kB / 0.7181 GB, free: 8.301 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.6889, allocations: 0.9375 kB / 0.7181 GB, free: 8.301 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.6891, allocations: 177.6 kB / 0.7183 GB, free: 8.094 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.6891, allocations: 1.781 kB / 0.7183 GB, free: 8.094 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.6892, allocations: 384 / 0.7183 GB, free: 8.094 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.6893, allocations: 32.05 kB / 0.7183 GB, free: 8.062 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.6893, allocations: 4.188 kB / 0.7183 GB, free: 8.059 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.6893, allocations: 3.938 kB / 0.7183 GB, free: 8.055 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.6893, allocations: 1.5 kB / 0.7183 GB, free: 8.055 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.6894, allocations: 12.27 kB / 0.7183 GB, free: 8.047 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.6896, allocations: 150.5 kB / 0.7185 GB, free: 7.855 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.6897, allocations: 38.48 kB / 0.7185 GB, free: 7.82 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.6897, allocations: 9.016 kB / 0.7185 GB, free: 7.812 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.6897, allocations: 1.031 kB / 0.7185 GB, free: 7.812 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.6898, allocations: 31.69 kB / 0.7185 GB, free: 7.773 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6898, allocations: 0 / 0.7185 GB, free: 7.773 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3): time 0.0001643/0.6899, allocations: 57.34 kB / 0.7186 GB, free: 7.727 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.69, allocations: 52.53 kB / 0.7186 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.6901, allocations: 101 kB / 0.7187 GB, free: 7.559 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.6901, allocations: 25.7 kB / 0.7188 GB, free: 7.527 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.6902, allocations: 88.08 kB / 0.7188 GB, free: 7.438 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.6902, allocations: 9.344 kB / 0.7188 GB, free: 7.43 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.6902, allocations: 12.72 kB / 0.7189 GB, free: 7.414 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.6904, allocations: 312.3 kB / 0.7192 GB, free: 7.102 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.6904, allocations: 11.8 kB / 0.7192 GB, free: 7.094 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.6904, allocations: 11.98 kB / 0.7192 GB, free: 7.086 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.6905, allocations: 19.56 kB / 0.7192 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.6905, allocations: 5.719 kB / 0.7192 GB, free: 7.07 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.876e-05/0.6906, allocations: 46.56 kB / 0.7192 GB, free: 7.031 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6906, allocations: 10.2 kB / 0.7193 GB, free: 7.027 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6906, allocations: 5.719 kB / 0.7193 GB, free: 7.023 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6906, allocations: 0 / 0.7193 GB, free: 7.023 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.6906, allocations: 0 / 0.7193 GB, free: 7.023 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.6906, allocations: 0 / 0.7193 GB, free: 7.023 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.6907, allocations: 1.844 kB / 0.7193 GB, free: 7.023 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.6907, allocations: 4.062 kB / 0.7193 GB, free: 7.02 MB / 0.5138 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.6908, allocations: 109.4 kB / 0.7194 GB, free: 6.906 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.6908, allocations: 5.719 kB / 0.7194 GB, free: 6.902 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.6908, allocations: 7.438 kB / 0.7194 GB, free: 6.891 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.6908, allocations: 1.812 kB / 0.7194 GB, free: 6.891 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6908, allocations: 3.984 kB / 0.7194 GB, free: 6.887 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6908, allocations: 1.781 kB / 0.7194 GB, free: 6.887 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.6909, allocations: 145.3 kB / 0.7195 GB, free: 6.699 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6909, allocations: 0 / 0.7195 GB, free: 6.699 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.6909, allocations: 4 kB / 0.7195 GB, free: 6.695 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.691, allocations: 5.734 kB / 0.7195 GB, free: 6.691 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.691, allocations: 3.938 kB / 0.7195 GB, free: 6.688 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.691, allocations: 0 / 0.7195 GB, free: 6.688 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.691, allocations: 5.75 kB / 0.7196 GB, free: 6.684 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.558e-05/0.6911, allocations: 65.66 kB / 0.7196 GB, free: 6.613 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.6911, allocations: 82.83 kB / 0.7197 GB, free: 6.516 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.6911, allocations: 3.938 kB / 0.7197 GB, free: 6.512 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.6912, allocations: 8.031 kB / 0.7197 GB, free: 6.504 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.6912, allocations: 1.812 kB / 0.7197 GB, free: 6.504 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.6912, allocations: 0 / 0.7197 GB, free: 6.504 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.6912, allocations: 81.06 kB / 0.7198 GB, free: 6.426 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6912, allocations: 1.938 kB / 0.7198 GB, free: 6.426 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002069/0.6914, allocations: 22.48 kB / 0.7198 GB, free: 6.418 MB / 0.5138 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 (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.0001751/0.6916, allocations: 105.7 kB / 0.7199 GB, free: 6.328 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.6917, allocations: 27.5 kB / 0.7199 GB, free: 6.312 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6917, allocations: 0 / 0.7199 GB, free: 6.312 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.6917, allocations: 9.688 kB / 0.7199 GB, free: 6.309 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.6919, allocations: 5.375 kB / 0.7199 GB, free: 6.305 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.6921, allocations: 119.4 kB / 0.7201 GB, free: 6.172 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.6924, allocations: 0.677 MB / 0.7207 GB, free: 5.473 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.6924, allocations: 12.84 kB / 0.7207 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of SimCode: time 2.6e-07/0.6924, allocations: 0 / 0.7207 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of Templates: time 0.002364/0.6948, allocations: 0.6639 MB / 0.7214 GB, free: 5.133 MB / 0.5138 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 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches