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.01001/0.01001, allocations: 1.432 MB / 17.31 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1161/0.1161, allocations: 22.37 MB / 40.72 MB, free: 0.7578 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.001289/0.001289, allocations: 106.3 kB / 48.19 MB, free: 2.488 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.001492/0.001492, allocations: 192.6 kB / 55.78 MB, free: 6.535 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.555/1.555, allocations: 222.9 MB / 286.1 MB, free: 1.387 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9956/0.9956, allocations: 127.4 MB / 470.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003536/0.003536, allocations: 130.2 kB / 0.553 GB, free: 42.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2186, allocations: 82.3 MB / 0.6334 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.003428/0.2221, allocations: 1.074 MB / 0.6344 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.2229, allocations: 216 kB / 0.6346 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.223, allocations: 0 / 0.6346 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.2231, allocations: 4 kB / 0.6346 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 1.174e-05/0.2231, allocations: 0 / 0.6346 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.2238, allocations: 63.88 kB / 0.6347 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.2238, allocations: 8 kB / 0.6347 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.962e-05/0.2239, allocations: 7.984 kB / 0.6347 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.268e-05/0.2239, allocations: 3.938 kB / 0.6347 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.937e-05/0.224, allocations: 0 / 0.6347 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.224, allocations: 0 / 0.6347 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.2242, allocations: 83.89 kB / 0.6348 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.2243, allocations: 0 / 0.6348 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.2243, allocations: 3.938 kB / 0.6348 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2244, allocations: 39.92 kB / 0.6348 GB, free: 12.51 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2245, allocations: 3.938 kB / 0.6348 GB, free: 12.51 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2245, allocations: 0 / 0.6348 GB, free: 12.51 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2245, allocations: 4 kB / 0.6348 GB, free: 12.5 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.0005307/0.225, allocations: 319.6 kB / 0.6351 GB, free: 12.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.2251, allocations: 12.03 kB / 0.6351 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.2251, allocations: 8.828 kB / 0.6351 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.2253, allocations: 164.6 kB / 0.6353 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2254, allocations: 4.375 kB / 0.6353 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.2254, allocations: 384 / 0.6353 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.2255, allocations: 34.25 kB / 0.6353 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2256, allocations: 4.172 kB / 0.6353 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2256, allocations: 7.938 kB / 0.6354 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.2256, allocations: 4 kB / 0.6354 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.2256, allocations: 4 kB / 0.6354 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.2259, allocations: 157.7 kB / 0.6355 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.226, allocations: 30.58 kB / 0.6355 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.2261, allocations: 8.891 kB / 0.6355 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.2261, allocations: 0 / 0.6355 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.2261, allocations: 38.59 kB / 0.6356 GB, free: 11.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.2261, allocations: 0 / 0.6356 GB, free: 11.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001875/0.2263, allocations: 57.56 kB / 0.6356 GB, free: 11.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.2264, allocations: 55.34 kB / 0.6357 GB, free: 11.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.2265, allocations: 93.86 kB / 0.6358 GB, free: 11.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2265, allocations: 25.7 kB / 0.6358 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.2266, allocations: 80.14 kB / 0.6359 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.2266, allocations: 12.06 kB / 0.6359 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.2267, allocations: 21.64 kB / 0.6359 GB, free: 11.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.2268, allocations: 314.8 kB / 0.6362 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.2269, allocations: 4 kB / 0.6362 GB, free: 10.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.2269, allocations: 4 kB / 0.6362 GB, free: 10.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.087e-05/0.2269, allocations: 20.84 kB / 0.6362 GB, free: 10.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.2269, allocations: 4 kB / 0.6362 GB, free: 10.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.63e-05/0.227, allocations: 49.53 kB / 0.6363 GB, free: 10.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.227, allocations: 4 kB / 0.6363 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2271, allocations: 8 kB / 0.6363 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2271, allocations: 0 / 0.6363 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.2271, allocations: 0 / 0.6363 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2271, allocations: 0 / 0.6363 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.2271, allocations: 4 kB / 0.6363 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2271, allocations: 3.984 kB / 0.6363 GB, free: 10.75 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 9.696e-05/0.2272, allocations: 109.8 kB / 0.6364 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.2273, allocations: 7.984 kB / 0.6364 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.2273, allocations: 7.438 kB / 0.6364 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.2273, allocations: 4 kB / 0.6364 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2273, allocations: 4 kB / 0.6364 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2273, allocations: 0 / 0.6364 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2275, allocations: 149.7 kB / 0.6366 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2275, allocations: 4 kB / 0.6366 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.2275, allocations: 0 / 0.6366 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2275, allocations: 0 / 0.6366 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2275, allocations: 3.938 kB / 0.6366 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2275, allocations: 0 / 0.6366 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2275, allocations: 0 / 0.6366 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.2276, allocations: 81.23 kB / 0.6367 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.2277, allocations: 77.11 kB / 0.6367 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.2277, allocations: 3.938 kB / 0.6367 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-06/0.2277, allocations: 0 / 0.6367 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.2278, allocations: 7.922 kB / 0.6368 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2278, allocations: 0 / 0.6368 GB, free: 10.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.2278, allocations: 79.28 kB / 0.6368 GB, free: 10.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2278, allocations: 0 / 0.6368 GB, free: 10.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.2281, allocations: 20.12 kB / 0.6368 GB, free: 10.11 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.0002252/0.2283, allocations: 119.2 kB / 0.637 GB, free: 9.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.967e-05/0.2284, allocations: 8 kB / 0.637 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2284, allocations: 0 / 0.637 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.2284, allocations: 11.94 kB / 0.637 GB, free: 9.961 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.2286, allocations: 10.78 kB / 0.637 GB, free: 9.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.2289, allocations: 134.7 kB / 0.6371 GB, free: 9.789 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.2293, allocations: 0.6729 MB / 0.6378 GB, free: 9.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.2293, allocations: 11.44 kB / 0.6378 GB, free: 9.078 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2293, allocations: 0 / 0.6378 GB, free: 9.078 MB / 462.1 MB Notification: Performance of Templates: time 0.00283/0.2321, allocations: 0.6557 MB / 0.6384 GB, free: 8.422 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/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