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.01256/0.01256, allocations: 1.417 MB / 16.69 MB, free: 4.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.121/0.121, allocations: 22.59 MB / 40.31 MB, free: 1.109 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007914/0.0007913, allocations: 99.11 kB / 48.07 MB, free: 2.414 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 176.7 kB / 55.92 MB, free: 3.984 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 223.2 MB / 286.9 MB, free: 3.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.032/1.032, allocations: 127.7 MB / 472.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000593/0.0005929, allocations: 21.69 kB / 0.5567 GB, free: 42.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2352, allocations: 83.88 MB / 0.6386 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001359/0.2366, allocations: 0.7391 MB / 0.6393 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.2373, allocations: 219.4 kB / 0.6395 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.2374, allocations: 3.938 kB / 0.6396 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.2375, allocations: 0 / 0.6396 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 1.22e-05/0.2375, allocations: 0 / 0.6396 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.238, allocations: 51.89 kB / 0.6396 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.2381, allocations: 0 / 0.6396 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.2382, allocations: 4 kB / 0.6396 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.2382, allocations: 11.92 kB / 0.6396 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.569e-05/0.2382, allocations: 3.984 kB / 0.6396 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2383, allocations: 0 / 0.6396 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.2385, allocations: 75.92 kB / 0.6397 GB, free: 9.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.2385, allocations: 8 kB / 0.6397 GB, free: 9.977 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.2386, allocations: 29.64 kB / 0.6397 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.2388, allocations: 51.89 kB / 0.6398 GB, free: 9.891 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2388, allocations: 0 / 0.6398 GB, free: 9.891 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.2388, allocations: 0 / 0.6398 GB, free: 9.891 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2388, allocations: 0 / 0.6398 GB, free: 9.891 MB / 462.1 MB 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.0005235/0.2393, allocations: 327.8 kB / 0.6401 GB, free: 9.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/0.2394, allocations: 9.156 kB / 0.6401 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.2394, allocations: 8.844 kB / 0.6401 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.2397, allocations: 164.4 kB / 0.6403 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2397, allocations: 384 / 0.6403 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2397, allocations: 4.312 kB / 0.6403 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2399, allocations: 38.27 kB / 0.6403 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2399, allocations: 192 / 0.6403 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2399, allocations: 3.938 kB / 0.6403 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.24, allocations: 7.984 kB / 0.6403 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.24, allocations: 4 kB / 0.6403 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.2402, allocations: 149.7 kB / 0.6405 GB, free: 9.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.2403, allocations: 42.48 kB / 0.6405 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.2404, allocations: 12.89 kB / 0.6405 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.2404, allocations: 0 / 0.6405 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.2404, allocations: 38.56 kB / 0.6406 GB, free: 8.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.2404, allocations: 4 kB / 0.6406 GB, free: 8.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.000211/0.2407, allocations: 57.59 kB / 0.6406 GB, free: 8.867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.2407, allocations: 55.39 kB / 0.6407 GB, free: 8.801 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.2408, allocations: 97.86 kB / 0.6408 GB, free: 8.695 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2409, allocations: 25.7 kB / 0.6408 GB, free: 8.664 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.2409, allocations: 80.14 kB / 0.6409 GB, free: 8.582 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.241, allocations: 3.906 kB / 0.6409 GB, free: 8.578 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.241, allocations: 13.72 kB / 0.6409 GB, free: 8.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2412, allocations: 323 kB / 0.6412 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.2412, allocations: 4 kB / 0.6412 GB, free: 8.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.2412, allocations: 4 kB / 0.6412 GB, free: 8.227 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/0.2413, allocations: 20.84 kB / 0.6412 GB, free: 8.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2413, allocations: 0 / 0.6412 GB, free: 8.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.052e-05/0.2413, allocations: 49.55 kB / 0.6413 GB, free: 8.148 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2414, allocations: 7.984 kB / 0.6413 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.2414, allocations: 3.938 kB / 0.6413 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2414, allocations: 0 / 0.6413 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.2414, allocations: 4.062 kB / 0.6413 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2415, allocations: 4 kB / 0.6413 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.2415, allocations: 0 / 0.6413 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2415, allocations: 0 / 0.6413 GB, free: 8.129 MB / 462.1 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 (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 0.0001005/0.2416, allocations: 107.6 kB / 0.6414 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.2416, allocations: 4 kB / 0.6414 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.2416, allocations: 7.438 kB / 0.6414 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2416, allocations: 3.984 kB / 0.6414 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.2417, allocations: 3.938 kB / 0.6414 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2417, allocations: 4 kB / 0.6414 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2418, allocations: 149.7 kB / 0.6415 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2418, allocations: 0 / 0.6415 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.2418, allocations: 0 / 0.6415 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2419, allocations: 3.984 kB / 0.6415 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2419, allocations: 3.938 kB / 0.6416 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.2419, allocations: 0 / 0.6416 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2419, allocations: 0 / 0.6416 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.242, allocations: 77.06 kB / 0.6416 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.2421, allocations: 77.11 kB / 0.6417 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2421, allocations: 3.938 kB / 0.6417 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-06/0.2421, allocations: 0 / 0.6417 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.2421, allocations: 8.125 kB / 0.6417 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2421, allocations: 4 kB / 0.6417 GB, free: 7.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.644e-05/0.2422, allocations: 75.28 kB / 0.6418 GB, free: 7.512 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2422, allocations: 0 / 0.6418 GB, free: 7.512 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.2424, allocations: 23.98 kB / 0.6418 GB, free: 7.488 MB / 462.1 MB 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.0002466/0.2427, allocations: 123.3 kB / 0.6419 GB, free: 7.359 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.649e-05/0.2428, allocations: 11.98 kB / 0.6419 GB, free: 7.348 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2428, allocations: 0 / 0.6419 GB, free: 7.348 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.2428, allocations: 12 kB / 0.6419 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.243, allocations: 3.938 kB / 0.642 GB, free: 7.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.2433, allocations: 102.7 kB / 0.6421 GB, free: 7.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.2437, allocations: 0.681 MB / 0.6427 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.105e-05/0.2437, allocations: 4 kB / 0.6427 GB, free: 6.492 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.2438, allocations: 11.44 kB / 0.6427 GB, free: 6.48 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2438, allocations: 0 / 0.6427 GB, free: 6.48 MB / 462.1 MB Notification: Performance of Templates: time 0.00341/0.2472, allocations: 0.6017 MB / 0.6433 GB, free: 5.883 MB / 462.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches