Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.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.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01214/0.01214, allocations: 1.43 MB / 16.55 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1076/0.1076, allocations: 22.38 MB / 39.95 MB, free: 0.8906 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.001052/0.001052, allocations: 103.1 kB / 47.42 MB, free: 2.539 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.001826/0.001826, allocations: 192.5 kB / 55 MB, free: 6.59 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.377/1.377, allocations: 222.9 MB / 285.3 MB, free: 1.465 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8727/0.8727, allocations: 127.8 MB / 469.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004014/0.004014, allocations: 123.3 kB / 0.5525 GB, free: 42.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1812, allocations: 82.35 MB / 0.633 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.00201/0.1832, allocations: 1.081 MB / 0.634 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.185, allocations: 1.409 MB / 0.6354 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.25e-05/0.1851, allocations: 3.938 kB / 0.6354 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.1851, allocations: 0 / 0.6354 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.1855, allocations: 75.86 kB / 0.6355 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.846e-06/0.1855, allocations: 4 kB / 0.6355 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.287e-05/0.1855, allocations: 7.922 kB / 0.6355 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.1856, allocations: 4 kB / 0.6355 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.1856, allocations: 7.938 kB / 0.6355 GB, free: 10.97 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.064e-05/0.1856, allocations: 3.984 kB / 0.6355 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.1856, allocations: 4 kB / 0.6355 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.1859, allocations: 183.7 kB / 0.6357 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-06/0.186, allocations: 4 kB / 0.6357 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.186, allocations: 3.938 kB / 0.6357 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1861, allocations: 91.8 kB / 0.6358 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1862, allocations: 4 kB / 0.6358 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1862, allocations: 0 / 0.6358 GB, free: 10.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.1862, allocations: 0 / 0.6358 GB, free: 10.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002751/0.1864, allocations: 339.5 kB / 0.6361 GB, free: 10.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1865, allocations: 9.156 kB / 0.6361 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1865, allocations: 4.844 kB / 0.6361 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.377e-05/0.1866, allocations: 168.6 kB / 0.6363 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1866, allocations: 8.375 kB / 0.6363 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.1866, allocations: 384 / 0.6363 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.1868, allocations: 46 kB / 0.6363 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1868, allocations: 0 / 0.6363 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1868, allocations: 7.984 kB / 0.6363 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1868, allocations: 0 / 0.6363 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.1868, allocations: 7.938 kB / 0.6363 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.187, allocations: 153.7 kB / 0.6365 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.1871, allocations: 38.58 kB / 0.6365 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.1871, allocations: 24.98 kB / 0.6365 GB, free: 9.738 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/0.1875, allocations: 336.4 kB / 0.6369 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1875, allocations: 42.5 kB / 0.6369 GB, free: 9.285 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1875, allocations: 0 / 0.6369 GB, free: 9.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001436/0.1876, allocations: 61.56 kB / 0.637 GB, free: 9.219 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.1877, allocations: 51.41 kB / 0.637 GB, free: 9.156 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.718e-05/0.1877, allocations: 93.86 kB / 0.6371 GB, free: 9.055 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1877, allocations: 29.7 kB / 0.6371 GB, free: 9.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.1878, allocations: 84.12 kB / 0.6372 GB, free: 8.934 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1878, allocations: 7.812 kB / 0.6372 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1878, allocations: 17.72 kB / 0.6372 GB, free: 8.902 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.1879, allocations: 310.8 kB / 0.6375 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.188, allocations: 11.98 kB / 0.6375 GB, free: 8.578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.188, allocations: 4 kB / 0.6376 GB, free: 8.574 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.188, allocations: 20.86 kB / 0.6376 GB, free: 8.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.188, allocations: 11.94 kB / 0.6376 GB, free: 8.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.751e-05/0.1881, allocations: 45.69 kB / 0.6376 GB, free: 8.488 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1881, allocations: 7.938 kB / 0.6376 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1881, allocations: 4 kB / 0.6376 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1882, allocations: 4 kB / 0.6376 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.1882, allocations: 4 kB / 0.6376 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1882, allocations: 3.984 kB / 0.6376 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.1882, allocations: 3.938 kB / 0.6377 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1883, allocations: 7.984 kB / 0.6377 GB, free: 8.453 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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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 6.76e-05/0.1883, allocations: 115.6 kB / 0.6378 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.1883, allocations: 3.938 kB / 0.6378 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1885, allocations: 61.12 kB / 0.6378 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1885, allocations: 384 / 0.6378 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1885, allocations: 0 / 0.6378 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1885, allocations: 0 / 0.6378 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.116e-05/0.1886, allocations: 153.7 kB / 0.638 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1886, allocations: 3.984 kB / 0.638 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.1886, allocations: 8 kB / 0.638 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1886, allocations: 7.938 kB / 0.638 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1886, allocations: 0 / 0.638 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1886, allocations: 3.984 kB / 0.638 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1886, allocations: 0 / 0.638 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.901e-05/0.1887, allocations: 77.06 kB / 0.6381 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.1888, allocations: 84.95 kB / 0.6382 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1888, allocations: 7.938 kB / 0.6382 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.1888, allocations: 4 kB / 0.6382 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.1888, allocations: 4 kB / 0.6382 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1888, allocations: 0 / 0.6382 GB, free: 7.828 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.372e-05/0.1889, allocations: 75.28 kB / 0.6382 GB, free: 7.754 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1889, allocations: 4 kB / 0.6382 GB, free: 7.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.1891, allocations: 11.98 kB / 0.6383 GB, free: 7.738 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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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.0001441/0.1892, allocations: 119.2 kB / 0.6384 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.553e-05/0.1893, allocations: 24 kB / 0.6384 GB, free: 7.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/0.1893, allocations: 4 kB / 0.6384 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.1893, allocations: 15.92 kB / 0.6384 GB, free: 7.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.1895, allocations: 6.031 kB / 0.6384 GB, free: 7.566 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.1897, allocations: 98.69 kB / 0.6385 GB, free: 7.441 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1899, allocations: 0.6731 MB / 0.6392 GB, free: 6.742 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.501e-05/0.1899, allocations: 4 kB / 0.6392 GB, free: 6.738 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.1899, allocations: 7.438 kB / 0.6392 GB, free: 6.73 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1899, allocations: 4 kB / 0.6392 GB, free: 6.727 MB / 462.1 MB Notification: Performance of Templates: time 0.2175/0.4075, allocations: 0.5867 MB / 0.6398 GB, free: 6.141 MB / 462.1 MB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches