Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008764/0.008764, allocations: 1.777 MB / 22.36 MB, free: 2.121 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.001139/0.001139, allocations: 82.48 kB / 26.19 MB, free: 6.23 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.001279/0.001279, allocations: 169.9 kB / 30.12 MB, free: 2.336 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.9377/0.9377, allocations: 177.2 MB / 211.1 MB, free: 3.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.5924/0.5924, allocations: 102.5 MB / 370.7 MB, free: 212 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 471.2 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.458e-05, allocations: 5.469 kB / 471.2 MB, free: 18.83 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.1042/0.1042, allocations: 56.25 MB / 0.5151 GB, free: 15.39 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.1069, allocations: 2.198 MB / 0.5173 GB, free: 13.19 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.1072, allocations: 23.81 kB / 0.5173 GB, free: 13.17 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.1075, allocations: 262 kB / 0.5175 GB, free: 12.91 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1087, allocations: 1.173 MB / 0.5187 GB, free: 11.73 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000828/0.1095, allocations: 0.7797 MB / 0.5194 GB, free: 10.95 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.003067/0.1126, allocations: 5.085 MB / 0.5244 GB, free: 5.844 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.113, allocations: 403.2 kB / 0.5248 GB, free: 5.422 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.1148, allocations: 2.331 MB / 0.5271 GB, free: 3.086 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.1167, allocations: 2.011 MB / 0.529 GB, free: 1.07 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.117, allocations: 260 kB / 0.5293 GB, free: 0.8164 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.1174, allocations: 272 kB / 0.5295 GB, free: 0.5508 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0009308/0.1183, allocations: 1.286 MB / 0.5308 GB, free: 15.26 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008531/0.1191, allocations: 1.173 MB / 0.5319 GB, free: 14.09 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1209, allocations: 2.835 MB / 0.5347 GB, free: 11.24 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1209, allocations: 0 / 0.5347 GB, free: 11.24 MB / 458.8 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1209, allocations: 3.938 kB / 0.5347 GB, free: 11.24 MB / 458.8 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.1209, allocations: 0 / 0.5347 GB, free: 11.24 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.004512/0.1255, allocations: 3.36 MB / 0.538 GB, free: 7.828 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1255, allocations: 12.03 kB / 0.538 GB, free: 7.816 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006144/0.1261, allocations: 471 kB / 0.5384 GB, free: 7.355 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.1271, allocations: 1.019 MB / 0.5394 GB, free: 6.297 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.1272, allocations: 188.1 kB / 0.5396 GB, free: 6.113 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.1275, allocations: 208.3 kB / 0.5398 GB, free: 5.91 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.1296, allocations: 2.291 MB / 0.5421 GB, free: 3.336 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.1296, allocations: 23.86 kB / 0.5421 GB, free: 3.312 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.1298, allocations: 87.91 kB / 0.5422 GB, free: 3.227 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.13, allocations: 313.8 kB / 0.5425 GB, free: 2.922 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.1312, allocations: 0.9262 MB / 0.5434 GB, free: 1.996 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.008186/0.1394, allocations: 10.54 MB / 0.5537 GB, free: 7.184 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1405, allocations: 0.7698 MB / 0.5544 GB, free: 6.391 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.1409, allocations: 335 kB / 0.5547 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.532e-05/0.141, allocations: 28 kB / 0.5548 GB, free: 6.023 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.141, allocations: 53.39 kB / 0.5548 GB, free: 5.961 MB / 474.8 MB Notification: Performance of pre-optimization done (n=136): time 3.337e-06/0.1411, allocations: 0 / 0.5548 GB, free: 5.961 MB / 474.8 MB Notification: Performance of matching and sorting (n=136): time 0.005369/0.1464, allocations: 1.971 MB / 0.5567 GB, free: 3.965 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/0.1465, allocations: 277 kB / 0.557 GB, free: 3.633 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/0.1474, allocations: 1.33 MB / 0.5583 GB, free: 2.273 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-05/0.1475, allocations: 49.7 kB / 0.5583 GB, free: 2.219 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/0.1483, allocations: 1.139 MB / 0.5595 GB, free: 1.066 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.1486, allocations: 0.5229 MB / 0.56 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000435/0.149, allocations: 456.6 kB / 0.5604 GB, free: 88 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.1491, allocations: 480.7 kB / 0.5609 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.1495, allocations: 271.7 kB / 0.5611 GB, free: 15.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/0.1503, allocations: 1.254 MB / 0.5623 GB, free: 13.72 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.1515, allocations: 1.417 MB / 0.5637 GB, free: 11.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.1515, allocations: 8 kB / 0.5637 GB, free: 11.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004423/0.1559, allocations: 1.994 MB / 0.5657 GB, free: 9.961 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1559, allocations: 19.98 kB / 0.5657 GB, free: 9.941 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.1559, allocations: 16 kB / 0.5657 GB, free: 9.926 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/0.159, allocations: 0.9765 MB / 0.5667 GB, free: 8.934 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.16, allocations: 443.2 kB / 0.5671 GB, free: 8.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/0.1675, allocations: 9.193 MB / 0.5761 GB, free: 14.83 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009757/0.1684, allocations: 210.6 kB / 0.5763 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.1686, allocations: 87.86 kB / 0.5764 GB, free: 14.54 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.0004944/0.1691, allocations: 268 kB / 0.5766 GB, free: 14.27 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.1693, allocations: 210.9 kB / 0.5768 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.1715, allocations: 1.446 MB / 0.5782 GB, free: 12.58 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1715, allocations: 15.98 kB / 0.5782 GB, free: 12.56 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1715, allocations: 4 kB / 0.5782 GB, free: 12.56 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.1715, allocations: 7.984 kB / 0.5782 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.173, allocations: 1.02 MB / 0.5792 GB, free: 11.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.173, allocations: 3.938 kB / 0.5792 GB, free: 11.49 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.174, allocations: 371.5 kB / 0.5796 GB, free: 11.13 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.1752, allocations: 478 kB / 0.5801 GB, free: 10.64 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/0.1753, allocations: 47.92 kB / 0.5801 GB, free: 10.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004231/0.1795, allocations: 7.971 MB / 0.5879 GB, free: 2.164 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1795, allocations: 3.984 kB / 0.5879 GB, free: 2.16 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.182, allocations: 1.903 MB / 0.5897 GB, free: 220 kB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.1825, allocations: 428.4 kB / 0.5902 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.1827, allocations: 43.69 kB / 0.5902 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.1833, allocations: 51.97 kB / 0.5902 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.1835, allocations: 115.7 kB / 0.5904 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/0.1836, allocations: 39.95 kB / 0.5904 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005072/0.1841, allocations: 0.7248 MB / 0.5911 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.1841, allocations: 0 / 0.5911 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001428/0.1855, allocations: 0.8929 MB / 0.592 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.0001791/0.1857, allocations: 152.7 kB / 0.5921 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.188, allocations: 1.915 MB / 0.594 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.188, allocations: 4.062 kB / 0.594 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000898/0.1889, allocations: 1.2 MB / 0.5952 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/0.1898, allocations: 337.9 kB / 0.5955 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.1944, allocations: 4.539 MB / 0.5999 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006784/0.1951, allocations: 0.636 MB / 0.6005 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005473/0.1956, allocations: 203.2 kB / 0.6007 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008169/0.1964, allocations: 461.8 kB / 0.6012 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/0.1965, allocations: 0 / 0.6012 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of Templates: time 0.03895/0.2354, allocations: 38.49 MB / 0.6388 GB, free: 14.18 MB / 0.5574 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; mkfifo ClaRa_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe >> ../files/ClaRa_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.sim & ./ClaRa_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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: 4.9547430709935725]