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.01221/0.01221, allocations: 1.423 MB / 16.66 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.09903/0.09903, allocations: 22.38 MB / 40.07 MB, free: 0.8438 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.0009307/0.0009307, allocations: 96.03 kB / 47.54 MB, free: 2.48 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.001113/0.001113, allocations: 198.1 kB / 55.12 MB, free: 6.531 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.359/1.359, allocations: 222.9 MB / 285.5 MB, free: 1.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8464/0.8464, allocations: 127.8 MB / 470.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 127 kB / 0.5527 GB, free: 43.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1734, allocations: 82.35 MB / 0.6332 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002016/0.1754, allocations: 1.073 MB / 0.6342 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1771, allocations: 1.393 MB / 0.6356 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.1772, allocations: 4 kB / 0.6356 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.1772, allocations: 4 kB / 0.6356 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.1776, allocations: 79.78 kB / 0.6357 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.1776, allocations: 0 / 0.6357 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 4.089e-05/0.1777, allocations: 11.92 kB / 0.6357 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.1777, allocations: 4 kB / 0.6357 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.342e-05/0.1777, allocations: 4 kB / 0.6357 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.1778, allocations: 3.938 kB / 0.6357 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-06/0.1778, allocations: 0 / 0.6357 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.1781, allocations: 199.7 kB / 0.6359 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.1781, allocations: 3.984 kB / 0.6359 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.1782, allocations: 0 / 0.6359 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1783, allocations: 95.75 kB / 0.636 GB, free: 10.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1783, allocations: 0 / 0.636 GB, free: 10.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1783, allocations: 0 / 0.636 GB, free: 10.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1783, allocations: 0 / 0.636 GB, free: 10.47 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.0002936/0.1786, allocations: 327.6 kB / 0.6363 GB, free: 10.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1787, allocations: 8.031 kB / 0.6363 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.1787, allocations: 4.844 kB / 0.6363 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.872e-05/0.1788, allocations: 176.6 kB / 0.6365 GB, free: 9.879 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1788, allocations: 12.36 kB / 0.6365 GB, free: 9.867 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.1788, allocations: 4.312 kB / 0.6365 GB, free: 9.863 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.179, allocations: 42 kB / 0.6365 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.179, allocations: 0 / 0.6365 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.179, allocations: 4 kB / 0.6365 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.179, allocations: 0 / 0.6365 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.011e-05/0.179, allocations: 15.88 kB / 0.6365 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.1792, allocations: 149.7 kB / 0.6367 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.1793, allocations: 42.58 kB / 0.6367 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.1793, allocations: 20.98 kB / 0.6367 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000366/0.1797, allocations: 344.4 kB / 0.6371 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1797, allocations: 34.5 kB / 0.6371 GB, free: 9.074 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1797, allocations: 0 / 0.6371 GB, free: 9.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001487/0.1799, allocations: 61.62 kB / 0.6372 GB, free: 9.008 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1799, allocations: 51.41 kB / 0.6372 GB, free: 8.945 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.587e-05/0.18, allocations: 93.84 kB / 0.6373 GB, free: 8.844 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.18, allocations: 29.7 kB / 0.6373 GB, free: 8.809 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.18, allocations: 80.14 kB / 0.6374 GB, free: 8.727 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.18, allocations: 7.812 kB / 0.6374 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.1801, allocations: 21.72 kB / 0.6374 GB, free: 8.691 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.1802, allocations: 310.8 kB / 0.6377 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.1802, allocations: 15.98 kB / 0.6377 GB, free: 8.363 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.1802, allocations: 4 kB / 0.6377 GB, free: 8.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.1803, allocations: 24.86 kB / 0.6378 GB, free: 8.332 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1803, allocations: 0 / 0.6378 GB, free: 8.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.463e-05/0.1803, allocations: 49.62 kB / 0.6378 GB, free: 8.277 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1804, allocations: 7.938 kB / 0.6378 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1804, allocations: 0 / 0.6378 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1804, allocations: 4 kB / 0.6378 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.1804, allocations: 4 kB / 0.6378 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1805, allocations: 3.984 kB / 0.6378 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.1805, allocations: 8 kB / 0.6378 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1805, allocations: 4 kB / 0.6378 GB, free: 8.246 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 5.986e-05/0.1806, allocations: 107.6 kB / 0.6379 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.1806, allocations: 3.938 kB / 0.638 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.1807, allocations: 65.44 kB / 0.638 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1807, allocations: 0 / 0.638 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1807, allocations: 0 / 0.638 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1807, allocations: 0 / 0.638 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.639e-05/0.1808, allocations: 157.7 kB / 0.6382 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1808, allocations: 0 / 0.6382 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.1808, allocations: 8 kB / 0.6382 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1808, allocations: 7.875 kB / 0.6382 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1809, allocations: 7.922 kB / 0.6382 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1809, allocations: 0 / 0.6382 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1809, allocations: 0 / 0.6382 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.456e-05/0.181, allocations: 73.12 kB / 0.6383 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.181, allocations: 96.89 kB / 0.6383 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.181, allocations: 11.94 kB / 0.6384 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-06/0.181, allocations: 0 / 0.6384 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.181, allocations: 0 / 0.6384 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1811, allocations: 0 / 0.6384 GB, free: 7.617 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.03e-05/0.1811, allocations: 79.28 kB / 0.6384 GB, free: 7.539 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1811, allocations: 0 / 0.6384 GB, free: 7.539 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001941/0.1813, allocations: 19.98 kB / 0.6385 GB, free: 7.52 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.0001433/0.1814, allocations: 119.2 kB / 0.6386 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.21e-05/0.1815, allocations: 23.98 kB / 0.6386 GB, free: 7.371 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1815, allocations: 0 / 0.6386 GB, free: 7.371 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.1816, allocations: 11.94 kB / 0.6386 GB, free: 7.359 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1817, allocations: 9.438 kB / 0.6386 GB, free: 7.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.1819, allocations: 97.06 kB / 0.6387 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.1821, allocations: 0.669 MB / 0.6394 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.508e-05/0.1821, allocations: 12 kB / 0.6394 GB, free: 6.527 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.1822, allocations: 15.42 kB / 0.6394 GB, free: 6.512 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1822, allocations: 0 / 0.6394 GB, free: 6.512 MB / 462.1 MB Notification: Performance of Templates: time 0.002371/0.1845, allocations: 0.5945 MB / 0.64 GB, free: 5.918 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