Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01134/0.01134, allocations: 1.784 MB / 21.57 MB, free: 2.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007543/0.0007543, allocations: 85.05 kB / 25.4 MB, free: 7 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000827/0.000827, allocations: 158.9 kB / 29.33 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9185/0.9185, allocations: 177.1 MB / 210.3 MB, free: 3.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6118/0.6118, allocations: 102.4 MB / 369.8 MB, free: 248 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|thickWall.U.[0-9,]+.|thickWall1.U.[0-9,]+.|thickWall2.U.[0-9,]+.|thinWall.U.[0-9,]+.|thinWall1.U.[0-9,]+.|thinWall2.U.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort") translateModel(ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|thickWall.U.[0-9,]+.|thickWall1.U.[0-9,]+.|thickWall2.U.[0-9,]+.|thinWall.U.[0-9,]+.|thinWall1.U.[0-9,]+.|thinWall2.U.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.609 kB / 470.4 MB, free: 18.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.509e-05, allocations: 3.984 kB / 470.4 MB, free: 18.77 MB / 410.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort): time 0.1123/0.1123, allocations: 56.26 MB / 0.5143 GB, free: 15.41 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.1149, allocations: 2.198 MB / 0.5165 GB, free: 13.21 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.1151, allocations: 19.88 kB / 0.5165 GB, free: 13.19 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.1155, allocations: 262 kB / 0.5168 GB, free: 12.93 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.1166, allocations: 1.18 MB / 0.5179 GB, free: 11.75 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.1174, allocations: 0.7758 MB / 0.5187 GB, free: 10.97 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.1201, allocations: 5.092 MB / 0.5236 GB, free: 5.855 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.1205, allocations: 407.2 kB / 0.524 GB, free: 5.43 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.1221, allocations: 2.323 MB / 0.5263 GB, free: 3.102 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.1237, allocations: 2.019 MB / 0.5283 GB, free: 1.078 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.1239, allocations: 260 kB / 0.5285 GB, free: 0.8242 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.1243, allocations: 268 kB / 0.5288 GB, free: 0.5625 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006814/0.125, allocations: 1.28 MB / 0.53 GB, free: 15.28 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007838/0.1258, allocations: 1.177 MB / 0.5312 GB, free: 14.1 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.1275, allocations: 2.838 MB / 0.5339 GB, free: 11.25 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1275, allocations: 0 / 0.5339 GB, free: 11.25 MB / 458.8 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1275, allocations: 0 / 0.5339 GB, free: 11.25 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.1275, allocations: 0 / 0.5339 GB, free: 11.25 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.004081/0.1316, allocations: 3.364 MB / 0.5372 GB, free: 7.836 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1317, allocations: 8.031 kB / 0.5372 GB, free: 7.828 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005793/0.1322, allocations: 479 kB / 0.5377 GB, free: 7.359 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009708/0.1332, allocations: 1.015 MB / 0.5387 GB, free: 6.305 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1333, allocations: 184.2 kB / 0.5389 GB, free: 6.125 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.1335, allocations: 212.3 kB / 0.5391 GB, free: 5.918 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.1357, allocations: 2.298 MB / 0.5413 GB, free: 3.336 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.1357, allocations: 7.938 kB / 0.5413 GB, free: 3.328 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.1359, allocations: 79.97 kB / 0.5414 GB, free: 3.25 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002273/0.1361, allocations: 317.7 kB / 0.5417 GB, free: 2.941 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1372, allocations: 0.9341 MB / 0.5426 GB, free: 2.008 MB / 458.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007828/0.1451, allocations: 10.54 MB / 0.5529 GB, free: 7.195 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.1462, allocations: 0.767 MB / 0.5536 GB, free: 6.398 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.1466, allocations: 319.1 kB / 0.5539 GB, free: 6.074 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.279e-05/0.1467, allocations: 24 kB / 0.554 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1467, allocations: 57.38 kB / 0.554 GB, free: 5.984 MB / 474.8 MB Notification: Performance of pre-optimization done (n=136): time 2.996e-06/0.1467, allocations: 3.938 kB / 0.554 GB, free: 5.98 MB / 474.8 MB Notification: Performance of matching and sorting (n=136): time 0.00537/0.1521, allocations: 1.979 MB / 0.556 GB, free: 3.977 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.1522, allocations: 277 kB / 0.5562 GB, free: 3.645 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/0.1531, allocations: 1.33 MB / 0.5575 GB, free: 2.285 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/0.1531, allocations: 53.7 kB / 0.5576 GB, free: 2.227 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.1536, allocations: 1.124 MB / 0.5587 GB, free: 1.09 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.1539, allocations: 0.5229 MB / 0.5592 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004192/0.1543, allocations: 460.6 kB / 0.5596 GB, free: 108 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.1544, allocations: 476.8 kB / 0.5601 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.1548, allocations: 271.7 kB / 0.5603 GB, free: 15.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.1558, allocations: 1.25 MB / 0.5616 GB, free: 13.75 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.157, allocations: 1.432 MB / 0.563 GB, free: 12 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.157, allocations: 4 kB / 0.563 GB, free: 11.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.003868/0.1609, allocations: 1.994 MB / 0.5649 GB, free: 9.977 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1609, allocations: 12 kB / 0.5649 GB, free: 9.965 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.1609, allocations: 16 kB / 0.5649 GB, free: 9.949 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.1638, allocations: 0.9802 MB / 0.5659 GB, free: 8.953 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.1647, allocations: 443.3 kB / 0.5663 GB, free: 8.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/0.1719, allocations: 9.216 MB / 0.5753 GB, free: 14.83 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/0.1727, allocations: 202.6 kB / 0.5755 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.1728, allocations: 83.92 kB / 0.5756 GB, free: 14.55 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (206): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.1732, allocations: 276 kB / 0.5759 GB, free: 14.27 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.1735, allocations: 210.9 kB / 0.5761 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.1755, allocations: 1.434 MB / 0.5775 GB, free: 12.59 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1755, allocations: 16 kB / 0.5775 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1755, allocations: 7.984 kB / 0.5775 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1755, allocations: 3.984 kB / 0.5775 GB, free: 12.56 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.1766, allocations: 1.024 MB / 0.5785 GB, free: 11.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1766, allocations: 3.984 kB / 0.5785 GB, free: 11.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.1776, allocations: 375.4 kB / 0.5788 GB, free: 11.13 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.1788, allocations: 466 kB / 0.5793 GB, free: 10.66 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.091e-05/0.1789, allocations: 51.94 kB / 0.5793 GB, free: 10.61 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004248/0.1831, allocations: 7.981 MB / 0.5871 GB, free: 2.168 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1831, allocations: 4.391 kB / 0.5871 GB, free: 2.164 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.1854, allocations: 1.903 MB / 0.589 GB, free: 224 kB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007766/0.1862, allocations: 424.4 kB / 0.5894 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.1864, allocations: 39.94 kB / 0.5894 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.1869, allocations: 51.72 kB / 0.5895 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.1871, allocations: 123.7 kB / 0.5896 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.1872, allocations: 31.95 kB / 0.5896 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005182/0.1877, allocations: 0.7287 MB / 0.5903 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.1877, allocations: 4 kB / 0.5903 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001321/0.189, allocations: 0.8968 MB / 0.5912 GB, free: 13.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (thinWall.U[1],thinWall.U[2],thinWall.U[3],thinWall.U[4],thinWall.U[5],thickWall.U[1],thinWall1.U[1],thinWall1.U[2],thinWall1.U[3],thinWall1.U[4],thinWall1.U[5],thickWall1.U[1],thinWall2.U[1],thinWall2.U[2],thinWall2.U[3],thinWall2.U[4],thinWall2.U[5],thickWall2.U[1]) * 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.1892, allocations: 144.7 kB / 0.5914 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.1912, allocations: 1.915 MB / 0.5932 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1912, allocations: 4 kB / 0.5932 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008696/0.1921, allocations: 1.208 MB / 0.5944 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008404/0.1929, allocations: 345.9 kB / 0.5947 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.1976, allocations: 4.537 MB / 0.5992 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.198, allocations: 0.6203 MB / 0.5998 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005331/0.1986, allocations: 203.2 kB / 0.6 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008573/0.1994, allocations: 461.8 kB / 0.6004 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of SimCode: time 1.352e-06/0.1994, allocations: 0 / 0.6004 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of Templates: time 0.03777/0.2372, allocations: 37.65 MB / 0.6372 GB, free: 14.97 MB / 0.5574 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe >> ../files/ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.sim & ./ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0845267260447145]