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.01874/0.01874, allocations: 1.414 MB / 16.39 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1284/0.1284, allocations: 22.6 MB / 39.99 MB, free: 1.145 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.0007627/0.0007627, allocations: 104.6 kB / 47.73 MB, free: 2.438 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.0009756/0.0009756, allocations: 182.7 kB / 55.58 MB, free: 6.23 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.497/1.497, allocations: 223.3 MB / 286.5 MB, free: 14.73 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.974/0.974, allocations: 127.7 MB / 472.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005947, allocations: 20 kB / 0.556 GB, free: 17.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2359, allocations: 83.88 MB / 0.6379 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001278/0.2373, allocations: 0.6402 MB / 0.6385 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005917/0.2379, allocations: 189.4 kB / 0.6387 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.2379, allocations: 0 / 0.6387 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2381, allocations: 7.922 kB / 0.6387 GB, free: 12.82 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.357e-05/0.2381, allocations: 0 / 0.6387 GB, free: 12.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.2386, allocations: 62.62 kB / 0.6388 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.2386, allocations: 7.938 kB / 0.6388 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.2387, allocations: 0 / 0.6388 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.2387, allocations: 8 kB / 0.6388 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.74e-05/0.2388, allocations: 0 / 0.6388 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.2388, allocations: 0 / 0.6388 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.239, allocations: 79.83 kB / 0.6389 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.239, allocations: 0 / 0.6389 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.2391, allocations: 25.7 kB / 0.6389 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.2392, allocations: 35.94 kB / 0.6389 GB, free: 12.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2392, allocations: 0 / 0.6389 GB, free: 12.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.2392, allocations: 0 / 0.6389 GB, free: 12.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2392, allocations: 0 / 0.6389 GB, free: 12.61 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.0004327/0.2397, allocations: 327.4 kB / 0.6392 GB, free: 12.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.2397, allocations: 8.031 kB / 0.6393 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.2398, allocations: 11.86 kB / 0.6393 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.24, allocations: 163.3 kB / 0.6394 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.24, allocations: 3.984 kB / 0.6394 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.24, allocations: 0 / 0.6394 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.2402, allocations: 37.69 kB / 0.6395 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2402, allocations: 3.938 kB / 0.6395 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2402, allocations: 3.938 kB / 0.6395 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.2402, allocations: 0 / 0.6395 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.2403, allocations: 11.95 kB / 0.6395 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.2405, allocations: 153.7 kB / 0.6396 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.865e-05/0.2406, allocations: 30.58 kB / 0.6397 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.2407, allocations: 12.92 kB / 0.6397 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.2407, allocations: 0 / 0.6397 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2407, allocations: 34.56 kB / 0.6397 GB, free: 11.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 2.846e-06/0.2407, allocations: 4 kB / 0.6397 GB, free: 11.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001882/0.2409, allocations: 53.62 kB / 0.6398 GB, free: 11.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.241, allocations: 51.41 kB / 0.6398 GB, free: 11.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2411, allocations: 93.86 kB / 0.6399 GB, free: 11.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2411, allocations: 25.7 kB / 0.6399 GB, free: 11.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.2412, allocations: 80.14 kB / 0.64 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.2412, allocations: 3.906 kB / 0.64 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.2412, allocations: 0 / 0.64 GB, free: 11.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2414, allocations: 326.9 kB / 0.6403 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.2414, allocations: 8 kB / 0.6403 GB, free: 10.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.187e-05/0.2414, allocations: 4 kB / 0.6403 GB, free: 10.97 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.2415, allocations: 12.16 kB / 0.6403 GB, free: 10.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2415, allocations: 0 / 0.6403 GB, free: 10.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.832e-05/0.2416, allocations: 53.48 kB / 0.6404 GB, free: 10.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2416, allocations: 7.984 kB / 0.6404 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2416, allocations: 4 kB / 0.6404 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2416, allocations: 0 / 0.6404 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.2416, allocations: 0 / 0.6404 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2416, allocations: 4.062 kB / 0.6404 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.2416, allocations: 0 / 0.6404 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2417, allocations: 0 / 0.6404 GB, free: 10.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.644e-05/0.2418, allocations: 115.3 kB / 0.6405 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.2418, allocations: 0 / 0.6405 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.2418, allocations: 3.5 kB / 0.6405 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.2418, allocations: 7.984 kB / 0.6405 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2418, allocations: 0 / 0.6405 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2418, allocations: 0 / 0.6405 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.242, allocations: 153.6 kB / 0.6407 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.242, allocations: 3.938 kB / 0.6407 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.242, allocations: 0 / 0.6407 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.242, allocations: 3.984 kB / 0.6407 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.242, allocations: 0 / 0.6407 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.242, allocations: 0 / 0.6407 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.242, allocations: 4 kB / 0.6407 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.2421, allocations: 77 kB / 0.6408 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.2422, allocations: 77.11 kB / 0.6408 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.2422, allocations: 4.031 kB / 0.6408 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.065e-05/0.2422, allocations: 8 kB / 0.6408 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.2422, allocations: 0 / 0.6408 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.2422, allocations: 0 / 0.6408 GB, free: 10.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.2423, allocations: 79.28 kB / 0.6409 GB, free: 10.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2423, allocations: 0 / 0.6409 GB, free: 10.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.2425, allocations: 19.98 kB / 0.6409 GB, free: 10.24 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 (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.0002061/0.2427, allocations: 115.3 kB / 0.641 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 8.705e-05/0.2428, allocations: 19.92 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2428, allocations: 0 / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.2429, allocations: 8 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.243, allocations: 3.953 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.2433, allocations: 98.66 kB / 0.6412 GB, free: 9.965 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.2436, allocations: 0.677 MB / 0.6418 GB, free: 9.262 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.34e-05/0.2437, allocations: 8.125 kB / 0.6418 GB, free: 9.254 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.2437, allocations: 7.438 kB / 0.6418 GB, free: 9.246 MB / 478.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2437, allocations: 3.938 kB / 0.6418 GB, free: 9.242 MB / 478.1 MB Notification: Performance of Templates: time 0.003265/0.247, allocations: 0.6051 MB / 0.6424 GB, free: 8.637 MB / 478.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