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.008129/0.008129, allocations: 1.795 MB / 21.35 MB, free: 3.184 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.0007499/0.0007499, allocations: 90.12 kB / 25.15 MB, free: 7.48 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.0008237/0.0008237, allocations: 166.6 kB / 29.06 MB, free: 3.656 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.9452/0.9452, allocations: 177.2 MB / 210 MB, free: 3.602 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.6058/0.6058, allocations: 102.4 MB / 369.5 MB, free: 388 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.425e-06/2.425e-06, allocations: 3.188 kB / 469.9 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.874e-05, allocations: 4 kB / 469.9 MB, free: 19 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.1077/0.1078, allocations: 56.29 MB / 0.5139 GB, free: 15.67 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00392/0.1117, allocations: 2.191 MB / 0.516 GB, free: 13.48 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.1123, allocations: 27.81 kB / 0.5161 GB, free: 13.45 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.1128, allocations: 262 kB / 0.5163 GB, free: 13.19 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1144, allocations: 1.173 MB / 0.5175 GB, free: 12.01 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1158, allocations: 0.7952 MB / 0.5182 GB, free: 11.21 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.004663/0.1204, allocations: 5.081 MB / 0.5232 GB, free: 6.113 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006589/0.1211, allocations: 407.2 kB / 0.5236 GB, free: 5.688 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.1251, allocations: 2.331 MB / 0.5259 GB, free: 3.352 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.128, allocations: 2.007 MB / 0.5278 GB, free: 1.34 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004479/0.1284, allocations: 259.9 kB / 0.5281 GB, free: 1.086 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007041/0.1291, allocations: 276 kB / 0.5283 GB, free: 0.8164 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007966/0.1299, allocations: 1.278 MB / 0.5296 GB, free: 15.54 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.1312, allocations: 1.173 MB / 0.5307 GB, free: 14.36 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.1337, allocations: 2.835 MB / 0.5335 GB, free: 11.52 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1337, allocations: 0 / 0.5335 GB, free: 11.52 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1337, allocations: 0 / 0.5335 GB, free: 11.52 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.385e-05/0.1337, allocations: 4 kB / 0.5335 GB, free: 11.51 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.005342/0.1391, allocations: 3.449 MB / 0.5369 GB, free: 8.016 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1391, allocations: 12.03 kB / 0.5369 GB, free: 8.004 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.1399, allocations: 479 kB / 0.5373 GB, free: 7.535 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.1412, allocations: 1.113 MB / 0.5384 GB, free: 6.383 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.1414, allocations: 180.1 kB / 0.5386 GB, free: 6.207 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.1416, allocations: 208.3 kB / 0.5388 GB, free: 6.004 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.1445, allocations: 2.471 MB / 0.5412 GB, free: 3.25 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/0.1445, allocations: 15.89 kB / 0.5412 GB, free: 3.234 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.1447, allocations: 87.97 kB / 0.5413 GB, free: 3.148 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002398/0.1449, allocations: 309.8 kB / 0.5416 GB, free: 2.848 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.1469, allocations: 1.178 MB / 0.5427 GB, free: 1.668 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.01081/0.1577, allocations: 11.07 MB / 0.5536 GB, free: 6.309 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.1594, allocations: 0.8336 MB / 0.5544 GB, free: 5.449 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.16, allocations: 395 kB / 0.5547 GB, free: 5.051 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.959e-05/0.1601, allocations: 24 kB / 0.5548 GB, free: 5.027 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.1601, allocations: 53.39 kB / 0.5548 GB, free: 4.965 MB / 474.8 MB Notification: Performance of pre-optimization done (n=136): time 4.038e-06/0.1601, allocations: 0 / 0.5548 GB, free: 4.965 MB / 474.8 MB Notification: Performance of matching and sorting (n=136): time 0.006488/0.1666, allocations: 2.147 MB / 0.5569 GB, free: 2.793 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1667, allocations: 273 kB / 0.5572 GB, free: 2.465 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.1682, allocations: 1.355 MB / 0.5585 GB, free: 1.082 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.1683, allocations: 53.7 kB / 0.5586 GB, free: 1.023 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.1688, allocations: 1.12 MB / 0.5596 GB, free: 15.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.1692, allocations: 0.523 MB / 0.5602 GB, free: 15.36 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000491/0.1697, allocations: 448.7 kB / 0.5606 GB, free: 14.91 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1698, allocations: 484.5 kB / 0.561 GB, free: 14.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.1704, allocations: 355.7 kB / 0.5614 GB, free: 14.09 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.1714, allocations: 1.325 MB / 0.5627 GB, free: 12.39 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.1731, allocations: 1.55 MB / 0.5642 GB, free: 10.53 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.1731, allocations: 4 kB / 0.5642 GB, free: 10.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005026/0.1781, allocations: 2.185 MB / 0.5663 GB, free: 8.316 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.1781, allocations: 13.72 kB / 0.5663 GB, free: 8.305 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.1782, allocations: 16 kB / 0.5664 GB, free: 8.289 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003433/0.1816, allocations: 0.992 MB / 0.5673 GB, free: 7.281 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.183, allocations: 463.2 kB / 0.5678 GB, free: 6.828 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008807/0.1918, allocations: 9.466 MB / 0.577 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.1935, allocations: 230.6 kB / 0.5772 GB, free: 12.62 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.1937, allocations: 99.92 kB / 0.5773 GB, free: 12.52 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,6,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0007455/0.1944, allocations: 276 kB / 0.5776 GB, free: 12.24 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.1948, allocations: 210.9 kB / 0.5778 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.1974, allocations: 1.544 MB / 0.5793 GB, free: 10.46 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.1974, allocations: 15.94 kB / 0.5793 GB, free: 10.44 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.1974, allocations: 8 kB / 0.5793 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.1974, allocations: 3.984 kB / 0.5793 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.1995, allocations: 1.387 MB / 0.5807 GB, free: 8.992 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.1995, allocations: 0 / 0.5807 GB, free: 8.992 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.2007, allocations: 403.4 kB / 0.5811 GB, free: 8.598 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.2021, allocations: 486.3 kB / 0.5815 GB, free: 8.105 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.2022, allocations: 52.11 kB / 0.5816 GB, free: 8.055 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005619/0.2078, allocations: 8.137 MB / 0.5895 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2079, allocations: 0 / 0.5895 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003797/0.2116, allocations: 2.064 MB / 0.5915 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.2127, allocations: 472.2 kB / 0.592 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.2129, allocations: 39.94 kB / 0.592 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.2137, allocations: 91.84 kB / 0.5921 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.214, allocations: 111.7 kB / 0.5922 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.174e-05/0.2141, allocations: 51.94 kB / 0.5923 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009563/0.215, allocations: 0.7953 MB / 0.593 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.215, allocations: 0 / 0.593 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002118/0.2172, allocations: 0.8929 MB / 0.5939 GB, free: 10.88 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.0002393/0.2174, allocations: 148.6 kB / 0.5941 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003241/0.2206, allocations: 2.052 MB / 0.5961 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2206, allocations: 3.938 kB / 0.5961 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.222, allocations: 1.267 MB / 0.5973 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.2232, allocations: 330.2 kB / 0.5976 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006363/0.2296, allocations: 4.576 MB / 0.6021 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.2301, allocations: 0.632 MB / 0.6027 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009791/0.2311, allocations: 406.8 kB / 0.6031 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.2315, allocations: 140.4 kB / 0.6032 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of SimCode: time 2.094e-06/0.2315, allocations: 0 / 0.6032 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of Templates: time 0.0414/0.2729, allocations: 37.12 MB / 0.6395 GB, free: 12.38 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: 4.990793522913009]