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.01227/0.01227, allocations: 1.437 MB / 17.07 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.119/0.119, allocations: 22.37 MB / 40.49 MB, free: 0.5117 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.001129/0.001129, allocations: 109.4 kB / 47.98 MB, free: 2.133 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.001267/0.001267, allocations: 199.7 kB / 55.58 MB, free: 6.164 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.548/1.548, allocations: 222.9 MB / 285.9 MB, free: 1.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9589/0.9589, allocations: 127.8 MB / 470.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 127.8 kB / 0.6353 GB, free: 11.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2436, allocations: 82.33 MB / 0.7157 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002205/0.2458, allocations: 1.019 MB / 0.7167 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005734/0.2464, allocations: 207.3 kB / 0.7169 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.2465, allocations: 0 / 0.7169 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.2466, allocations: 4 kB / 0.7169 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.138e-05/0.2466, allocations: 0 / 0.7169 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.2471, allocations: 75.78 kB / 0.717 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.746e-05/0.2472, allocations: 4 kB / 0.717 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.668e-05/0.2473, allocations: 7.984 kB / 0.717 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.2473, allocations: 3.938 kB / 0.717 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.555e-05/0.2473, allocations: 3.984 kB / 0.717 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.2473, allocations: 0 / 0.717 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2475, allocations: 83.84 kB / 0.7171 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.2476, allocations: 0 / 0.7171 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.2476, allocations: 11.94 kB / 0.7171 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.2478, allocations: 55.91 kB / 0.7171 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2478, allocations: 0 / 0.7171 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2478, allocations: 0 / 0.7171 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.2478, allocations: 0 / 0.7171 GB, free: 7.297 MB / 0.5294 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.000407/0.2482, allocations: 323.5 kB / 0.7174 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2483, allocations: 11.97 kB / 0.7174 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.2483, allocations: 0.9375 kB / 0.7174 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.2485, allocations: 168.3 kB / 0.7176 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2485, allocations: 8.312 kB / 0.7176 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.2485, allocations: 384 / 0.7176 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2486, allocations: 38.25 kB / 0.7176 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2487, allocations: 4.125 kB / 0.7176 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2487, allocations: 7.938 kB / 0.7177 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.2487, allocations: 0 / 0.7177 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.2487, allocations: 4 kB / 0.7177 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.2489, allocations: 153.7 kB / 0.7178 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.249, allocations: 38.61 kB / 0.7178 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.249, allocations: 12.89 kB / 0.7179 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.2491, allocations: 0 / 0.7179 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2491, allocations: 34.56 kB / 0.7179 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.2491, allocations: 0 / 0.7179 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001629/0.2493, allocations: 57.59 kB / 0.7179 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2493, allocations: 51.41 kB / 0.718 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.2494, allocations: 101.9 kB / 0.7181 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.2494, allocations: 25.7 kB / 0.7181 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.2495, allocations: 80.14 kB / 0.7182 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.2495, allocations: 11.8 kB / 0.7182 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.2495, allocations: 13.72 kB / 0.7182 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2496, allocations: 314.8 kB / 0.7185 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.2497, allocations: 4 kB / 0.7185 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.2497, allocations: 7.984 kB / 0.7185 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.2497, allocations: 24.95 kB / 0.7185 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2497, allocations: 0 / 0.7185 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.739e-05/0.2498, allocations: 45.69 kB / 0.7186 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2498, allocations: 4 kB / 0.7186 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2498, allocations: 7.938 kB / 0.7186 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2498, allocations: 0 / 0.7186 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.2499, allocations: 0 / 0.7186 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2499, allocations: 0 / 0.7186 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.2499, allocations: 0 / 0.7186 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2499, allocations: 7.922 kB / 0.7186 GB, free: 5.539 MB / 0.5294 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 7.818e-05/0.25, allocations: 113.9 kB / 0.7187 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-06/0.25, allocations: 0 / 0.7187 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.25, allocations: 7.438 kB / 0.7187 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.25, allocations: 4 kB / 0.7187 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.25, allocations: 0 / 0.7187 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.25, allocations: 0 / 0.7187 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.2502, allocations: 153.7 kB / 0.7189 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2502, allocations: 0 / 0.7189 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2502, allocations: 0 / 0.7189 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2502, allocations: 3.938 kB / 0.7189 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2502, allocations: 15.88 kB / 0.7189 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2502, allocations: 0 / 0.7189 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2502, allocations: 4 kB / 0.7189 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.278e-05/0.2503, allocations: 65.12 kB / 0.719 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.2503, allocations: 85 kB / 0.719 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2504, allocations: 3.938 kB / 0.719 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-06/0.2504, allocations: 4 kB / 0.7191 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.2504, allocations: 0 / 0.7191 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.2504, allocations: 4.031 kB / 0.7191 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.2505, allocations: 75.28 kB / 0.7191 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2505, allocations: 0 / 0.7191 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000196/0.2507, allocations: 19.98 kB / 0.7191 GB, free: 4.891 MB / 0.5294 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.0001843/0.2508, allocations: 115.2 kB / 0.7193 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.874e-05/0.2509, allocations: 23.92 kB / 0.7193 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.251, allocations: 0 / 0.7193 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.251, allocations: 8.156 kB / 0.7193 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.2511, allocations: 6.188 kB / 0.7193 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.2514, allocations: 93.06 kB / 0.7194 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2516, allocations: 0.6768 MB / 0.72 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.2517, allocations: 0 / 0.72 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.2517, allocations: 7.438 kB / 0.72 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of SimCode: time 4.3e-07/0.2517, allocations: 0 / 0.72 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of Templates: time 0.002904/0.2546, allocations: 0.6187 MB / 0.7207 GB, free: 3.285 MB / 0.5294 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/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