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/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-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 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_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/TILMedia 1.8.2-main/package.mo): time 0.1394/0.1394, allocations: 23.17 MB / 40.14 MB, free: 0.8555 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009541/0.009541, allocations: 1.459 MB / 48.97 MB, free: 1.402 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.001313/0.001313, allocations: 109.6 kB / 56.8 MB, free: 2.781 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.001544/0.001544, allocations: 193.1 kB / 64.74 MB, free: 6.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.623/1.623, allocations: 225.6 MB / 298.1 MB, free: 1.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.047/1.047, allocations: 129 MB / 487 MB, free: 4.461 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003537/0.003537, allocations: 131.8 kB / 0.6604 GB, free: 9.973 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2279, allocations: 86.83 MB / 0.7452 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002476/0.2303, allocations: 1.026 MB / 0.7462 GB, free: 1.953 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006264/0.231, allocations: 211.2 kB / 0.7464 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.231, allocations: 0 / 0.7464 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.53e-05/0.2311, allocations: 0 / 0.7464 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-06/0.2311, allocations: 0 / 0.7464 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.2316, allocations: 67.81 kB / 0.7464 GB, free: 1.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.2316, allocations: 7.922 kB / 0.7465 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.2317, allocations: 8 kB / 0.7465 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.928e-05/0.2317, allocations: 3.984 kB / 0.7465 GB, free: 1.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.2317, allocations: 4 kB / 0.7465 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.2317, allocations: 0 / 0.7465 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2319, allocations: 87.83 kB / 0.7465 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.2319, allocations: 0 / 0.7465 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.232, allocations: 11.94 kB / 0.7466 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.2321, allocations: 51.84 kB / 0.7466 GB, free: 1.508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2321, allocations: 0 / 0.7466 GB, free: 1.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2321, allocations: 0 / 0.7466 GB, free: 1.508 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2321, allocations: 0 / 0.7466 GB, free: 1.508 MB / 0.545 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.0004218/0.2326, allocations: 323.5 kB / 0.7469 GB, free: 1.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2326, allocations: 16.03 kB / 0.7469 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.2326, allocations: 0.9375 kB / 0.7469 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.2328, allocations: 168.3 kB / 0.7471 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.2328, allocations: 4.375 kB / 0.7471 GB, free: 0.918 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.2328, allocations: 384 / 0.7471 GB, free: 0.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.233, allocations: 46.17 kB / 0.7471 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.233, allocations: 192 / 0.7471 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.233, allocations: 3.938 kB / 0.7471 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.233, allocations: 0 / 0.7471 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.233, allocations: 12 kB / 0.7472 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.2332, allocations: 149.7 kB / 0.7473 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.2333, allocations: 34.58 kB / 0.7473 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.2333, allocations: 20.84 kB / 0.7474 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.2333, allocations: 0 / 0.7474 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2334, allocations: 34.56 kB / 0.7474 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2334, allocations: 0 / 0.7474 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000165/0.2335, allocations: 57.62 kB / 0.7474 GB, free: 496 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.2336, allocations: 51.41 kB / 0.7475 GB, free: 432 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.2337, allocations: 93.86 kB / 0.7476 GB, free: 328 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2337, allocations: 25.7 kB / 0.7476 GB, free: 296 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.2337, allocations: 84.14 kB / 0.7477 GB, free: 208 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2338, allocations: 7.938 kB / 0.7477 GB, free: 200 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.2338, allocations: 17.66 kB / 0.7477 GB, free: 176 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.234, allocations: 315 kB / 0.748 GB, free: 15.86 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.234, allocations: 7.938 kB / 0.748 GB, free: 15.85 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.234, allocations: 8 kB / 0.748 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.234, allocations: 20.84 kB / 0.748 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.234, allocations: 0 / 0.748 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.046e-05/0.2341, allocations: 49.64 kB / 0.7481 GB, free: 15.76 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2341, allocations: 4 kB / 0.7481 GB, free: 15.76 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2341, allocations: 7.938 kB / 0.7481 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2341, allocations: 0 / 0.7481 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.2341, allocations: 3.938 kB / 0.7481 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2341, allocations: 4.062 kB / 0.7481 GB, free: 15.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.2342, allocations: 0 / 0.7481 GB, free: 15.74 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2342, allocations: 0 / 0.7481 GB, free: 15.74 MB / 0.5607 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 9.497e-05/0.2343, allocations: 117.8 kB / 0.7482 GB, free: 15.62 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.2343, allocations: 0 / 0.7482 GB, free: 15.62 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.2343, allocations: 7.438 kB / 0.7482 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.2343, allocations: 4 kB / 0.7482 GB, free: 15.6 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2343, allocations: 0 / 0.7482 GB, free: 15.6 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2343, allocations: 0 / 0.7482 GB, free: 15.6 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2344, allocations: 153.7 kB / 0.7484 GB, free: 15.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2344, allocations: 0 / 0.7484 GB, free: 15.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.2344, allocations: 0 / 0.7484 GB, free: 15.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2344, allocations: 0 / 0.7484 GB, free: 15.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.2345, allocations: 3.938 kB / 0.7484 GB, free: 15.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2345, allocations: 0 / 0.7484 GB, free: 15.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.2345, allocations: 4 kB / 0.7484 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.12e-05/0.2346, allocations: 69.11 kB / 0.7485 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.2346, allocations: 77.11 kB / 0.7485 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.2346, allocations: 11.95 kB / 0.7485 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.2346, allocations: 4 kB / 0.7485 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.2346, allocations: 0 / 0.7485 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2347, allocations: 4 kB / 0.7485 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.2347, allocations: 83.22 kB / 0.7486 GB, free: 15.11 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2347, allocations: 0 / 0.7486 GB, free: 15.11 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002042/0.2349, allocations: 19.94 kB / 0.7486 GB, free: 15.09 MB / 0.5607 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.0002089/0.2351, allocations: 115.9 kB / 0.7488 GB, free: 14.97 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 7.972e-05/0.2352, allocations: 12.19 kB / 0.7488 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2352, allocations: 0 / 0.7488 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.2352, allocations: 7.984 kB / 0.7488 GB, free: 14.95 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.2354, allocations: 0 / 0.7488 GB, free: 14.95 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.2356, allocations: 134.6 kB / 0.7489 GB, free: 14.79 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.2359, allocations: 0.6768 MB / 0.7496 GB, free: 14.08 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.236, allocations: 11.42 kB / 0.7496 GB, free: 14.07 MB / 0.5607 GB Notification: Performance of SimCode: time 3.31e-07/0.236, allocations: 8.062 kB / 0.7496 GB, free: 14.06 MB / 0.5607 GB Notification: Performance of Templates: time 0.002441/0.2384, allocations: 0.6556 MB / 0.7502 GB, free: 13.41 MB / 0.5607 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