Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo", uses=false) 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/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/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/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 SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.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_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_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1803/0.1803, allocations: 23.03 MB / 38.26 MB, free: 1.77 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009289/0.009289, allocations: 1.438 MB / 46.89 MB, free: 2.504 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.001651/0.001651, allocations: 104 kB / 54.51 MB, free: 6.508 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 190.5 kB / 62.23 MB, free: 7.82 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.574/1.574, allocations: 222.9 MB / 292.7 MB, free: 12.63 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo): time 0.9564/0.9564, allocations: 127.4 MB / 477.1 MB, free: 4 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004204/0.004204, allocations: 127.8 kB / 0.5596 GB, free: 16.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2313, allocations: 82.44 MB / 0.6402 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.0026/0.234, allocations: 1.085 MB / 0.6412 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006463/0.2346, allocations: 209.3 kB / 0.6414 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.2347, allocations: 4 kB / 0.6414 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.2348, allocations: 0 / 0.6414 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.254e-05/0.2348, allocations: 3.938 kB / 0.6414 GB, free: 13.24 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.2354, allocations: 63.86 kB / 0.6415 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.2355, allocations: 8 kB / 0.6415 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.2355, allocations: 4 kB / 0.6415 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.2356, allocations: 4 kB / 0.6415 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.423e-05/0.2356, allocations: 0 / 0.6415 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.2356, allocations: 0 / 0.6415 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.2358, allocations: 83.84 kB / 0.6416 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.2359, allocations: 0 / 0.6416 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.2359, allocations: 7.922 kB / 0.6416 GB, free: 13.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.2361, allocations: 55.91 kB / 0.6416 GB, free: 13.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.2361, allocations: 0 / 0.6416 GB, free: 13.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2361, allocations: 3.938 kB / 0.6416 GB, free: 13.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2361, allocations: 0 / 0.6416 GB, free: 13.02 MB / 478.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.0005415/0.2367, allocations: 323.5 kB / 0.642 GB, free: 12.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.2367, allocations: 12.02 kB / 0.642 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.2368, allocations: 0.9375 kB / 0.642 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.237, allocations: 176.6 kB / 0.6421 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2371, allocations: 384 / 0.6421 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.2371, allocations: 384 / 0.6421 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2372, allocations: 34.25 kB / 0.6422 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2373, allocations: 4.125 kB / 0.6422 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.2373, allocations: 7.938 kB / 0.6422 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.2373, allocations: 0 / 0.6422 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.2374, allocations: 15.94 kB / 0.6422 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.2376, allocations: 149.7 kB / 0.6423 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/0.2377, allocations: 30.58 kB / 0.6424 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.2378, allocations: 8.891 kB / 0.6424 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2378, allocations: 48 / 0.6424 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.2378, allocations: 42.55 kB / 0.6424 GB, free: 12.06 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2378, allocations: 4 kB / 0.6424 GB, free: 12.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001957/0.238, allocations: 53.56 kB / 0.6425 GB, free: 12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.2381, allocations: 51.41 kB / 0.6425 GB, free: 11.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2382, allocations: 97.86 kB / 0.6426 GB, free: 11.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.2383, allocations: 25.7 kB / 0.6426 GB, free: 11.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.2383, allocations: 80.14 kB / 0.6427 GB, free: 11.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.2384, allocations: 7.812 kB / 0.6427 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.2384, allocations: 17.7 kB / 0.6427 GB, free: 11.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.2386, allocations: 315 kB / 0.643 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.2386, allocations: 8 kB / 0.643 GB, free: 11.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/0.2387, allocations: 4 kB / 0.643 GB, free: 11.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.2387, allocations: 20.84 kB / 0.6431 GB, free: 11.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2387, allocations: 3.938 kB / 0.6431 GB, free: 11.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.144e-05/0.2388, allocations: 49.62 kB / 0.6431 GB, free: 11.28 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2388, allocations: 4 kB / 0.6431 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2388, allocations: 7.938 kB / 0.6431 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2389, allocations: 0 / 0.6431 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.2389, allocations: 4.062 kB / 0.6431 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2389, allocations: 0 / 0.6431 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.2389, allocations: 0 / 0.6431 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2389, allocations: 0 / 0.6431 GB, free: 11.26 MB / 478.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.0001208/0.239, allocations: 110.6 kB / 0.6432 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.2391, allocations: 3.984 kB / 0.6432 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.2391, allocations: 7.438 kB / 0.6433 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.2391, allocations: 4 kB / 0.6433 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2391, allocations: 0 / 0.6433 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.2391, allocations: 4.188 kB / 0.6433 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.2393, allocations: 153.7 kB / 0.6434 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2393, allocations: 0 / 0.6434 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-06/0.2393, allocations: 3.984 kB / 0.6434 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2393, allocations: 0 / 0.6434 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2393, allocations: 7.938 kB / 0.6434 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2393, allocations: 0 / 0.6434 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.2393, allocations: 7.875 kB / 0.6434 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.2395, allocations: 69.12 kB / 0.6435 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.2395, allocations: 85.05 kB / 0.6436 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2395, allocations: 3.938 kB / 0.6436 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.2396, allocations: 0 / 0.6436 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.2396, allocations: 7.984 kB / 0.6436 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.2396, allocations: 0 / 0.6436 GB, free: 10.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.04e-05/0.2397, allocations: 79.28 kB / 0.6437 GB, free: 10.63 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2397, allocations: 0 / 0.6437 GB, free: 10.63 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.2399, allocations: 20 kB / 0.6437 GB, free: 10.61 MB / 478.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.0002239/0.2401, allocations: 115.3 kB / 0.6438 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.2402, allocations: 15.94 kB / 0.6438 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2402, allocations: 0 / 0.6438 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/0.2402, allocations: 11.98 kB / 0.6438 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.2404, allocations: 0 / 0.6438 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.2407, allocations: 105 kB / 0.6439 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.2412, allocations: 0.673 MB / 0.6446 GB, free: 9.633 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.883e-05/0.2412, allocations: 8 kB / 0.6446 GB, free: 9.625 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.2412, allocations: 7.438 kB / 0.6446 GB, free: 9.617 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2412, allocations: 0 / 0.6446 GB, free: 9.617 MB / 478.1 MB Notification: Performance of Templates: time 0.003639/0.2449, allocations: 0.6252 MB / 0.6452 GB, free: 8.996 MB / 478.1 MB make -j1 -f ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile (rm -f ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) diffSimulationResults("ClaRa_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_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches