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.01206/0.01206, allocations: 1.419 MB / 17.35 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1869/0.1869, allocations: 22.6 MB / 40.97 MB, free: 0.8008 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.0009355/0.0009355, allocations: 90.3 kB / 48.72 MB, free: 2.125 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.00165/0.00165, allocations: 184.5 kB / 56.58 MB, free: 5.891 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.56/1.56, allocations: 223.3 MB / 287.6 MB, free: 14.65 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9624/0.9624, allocations: 127.7 MB / 473.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005387/0.0005387, allocations: 19.98 kB / 0.5573 GB, free: 17.15 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2353, allocations: 83.89 MB / 0.6392 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001113/0.2364, allocations: 0.7345 MB / 0.64 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005801/0.237, allocations: 217.3 kB / 0.6402 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.2371, allocations: 0 / 0.6402 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.208e-05/0.2372, allocations: 3.938 kB / 0.6402 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.658e-06/0.2372, allocations: 0 / 0.6402 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.2376, allocations: 55.94 kB / 0.6402 GB, free: 12.26 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.1e-05/0.2377, allocations: 11.88 kB / 0.6402 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.2377, allocations: 0 / 0.6402 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.117e-05/0.2377, allocations: 11.98 kB / 0.6402 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.2378, allocations: 0 / 0.6402 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.335e-06/0.2378, allocations: 0 / 0.6402 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.238, allocations: 71.92 kB / 0.6403 GB, free: 12.17 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.238, allocations: 3.984 kB / 0.6403 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.238, allocations: 33.64 kB / 0.6403 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.95e-05/0.2382, allocations: 31.94 kB / 0.6404 GB, free: 12.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2382, allocations: 0 / 0.6404 GB, free: 12.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2382, allocations: 0 / 0.6404 GB, free: 12.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2382, allocations: 0 / 0.6404 GB, free: 12.09 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.0003803/0.2386, allocations: 323.6 kB / 0.6407 GB, free: 11.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.2386, allocations: 13.16 kB / 0.6407 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.2387, allocations: 4.844 kB / 0.6407 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2388, allocations: 168.6 kB / 0.6409 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2389, allocations: 4.312 kB / 0.6409 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.2389, allocations: 4.375 kB / 0.6409 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.239, allocations: 34.25 kB / 0.6409 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.239, allocations: 192 / 0.6409 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.239, allocations: 3.938 kB / 0.6409 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.2391, allocations: 0 / 0.6409 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.2391, allocations: 12 kB / 0.6409 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.2393, allocations: 157.6 kB / 0.6411 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.2394, allocations: 42.48 kB / 0.6411 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.2394, allocations: 8.891 kB / 0.6411 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.2394, allocations: 0 / 0.6411 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2395, allocations: 30.56 kB / 0.6412 GB, free: 11.14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2395, allocations: 4 kB / 0.6412 GB, free: 11.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.000154/0.2396, allocations: 53.67 kB / 0.6412 GB, free: 11.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.2397, allocations: 51.41 kB / 0.6413 GB, free: 11.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.2398, allocations: 97.84 kB / 0.6413 GB, free: 10.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2398, allocations: 25.7 kB / 0.6414 GB, free: 10.88 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.2398, allocations: 80.14 kB / 0.6414 GB, free: 10.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.2399, allocations: 7.906 kB / 0.6415 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.2399, allocations: 17.66 kB / 0.6415 GB, free: 10.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.24, allocations: 315 kB / 0.6418 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.2401, allocations: 4 kB / 0.6418 GB, free: 10.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/0.2401, allocations: 7.984 kB / 0.6418 GB, free: 10.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.2401, allocations: 20.86 kB / 0.6418 GB, free: 10.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2401, allocations: 0 / 0.6418 GB, free: 10.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.101e-05/0.2402, allocations: 45.59 kB / 0.6418 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2402, allocations: 8 kB / 0.6419 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2402, allocations: 3.938 kB / 0.6419 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2402, allocations: 0 / 0.6419 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2402, allocations: 64 / 0.6419 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.2403, allocations: 7.984 kB / 0.6419 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.2403, allocations: 7.938 kB / 0.6419 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2403, allocations: 0 / 0.6419 GB, free: 10.34 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 8.244e-05/0.2404, allocations: 111.4 kB / 0.642 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.2404, allocations: 192 / 0.642 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.2404, allocations: 11.42 kB / 0.642 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.2404, allocations: 4 kB / 0.642 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2404, allocations: 0 / 0.642 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2404, allocations: 0 / 0.642 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.2406, allocations: 157.7 kB / 0.6421 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2406, allocations: 0 / 0.6421 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.2406, allocations: 0 / 0.6421 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2406, allocations: 0 / 0.6421 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2406, allocations: 7.875 kB / 0.6422 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2406, allocations: 0 / 0.6422 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2406, allocations: 4 kB / 0.6422 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.611e-05/0.2407, allocations: 69.11 kB / 0.6422 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.2408, allocations: 85.05 kB / 0.6423 GB, free: 9.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.2408, allocations: 3.938 kB / 0.6423 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.2408, allocations: 4 kB / 0.6423 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.2408, allocations: 7.875 kB / 0.6423 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2408, allocations: 3.984 kB / 0.6423 GB, free: 9.781 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.67e-05/0.2409, allocations: 75.28 kB / 0.6424 GB, free: 9.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2409, allocations: 0 / 0.6424 GB, free: 9.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.2411, allocations: 20 kB / 0.6424 GB, free: 9.688 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.0001941/0.2413, allocations: 115.3 kB / 0.6425 GB, free: 9.566 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.803e-05/0.2414, allocations: 19.98 kB / 0.6425 GB, free: 9.547 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2414, allocations: 0 / 0.6425 GB, free: 9.547 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.2414, allocations: 4 kB / 0.6425 GB, free: 9.543 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.2416, allocations: 6.531 kB / 0.6426 GB, free: 9.539 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.2418, allocations: 124.3 kB / 0.6427 GB, free: 9.387 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.2421, allocations: 0.677 MB / 0.6433 GB, free: 8.684 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.2422, allocations: 15.56 kB / 0.6433 GB, free: 8.668 MB / 478.1 MB Notification: Performance of SimCode: time 2.104e-06/0.2422, allocations: 0 / 0.6433 GB, free: 8.668 MB / 478.1 MB Notification: Performance of Templates: time 0.002231/0.2444, allocations: 0.6439 MB / 0.644 GB, free: 8.023 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/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