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.01182/0.01182, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.001092/0.001092, allocations: 87.03 kB / 25.41 MB, free: 6.492 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.001197/0.001197, allocations: 158.7 kB / 29.33 MB, free: 2.965 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.9276/0.9276, allocations: 177.2 MB / 210.3 MB, free: 3.43 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.5827/0.5827, allocations: 102.5 MB / 369.9 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.794e-06/1.794e-06, allocations: 0 / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.07e-05, allocations: 3.578 kB / 470.4 MB, free: 18.84 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.1215/0.1216, allocations: 56.26 MB / 0.5144 GB, free: 15.39 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.1251, allocations: 2.198 MB / 0.5165 GB, free: 13.18 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.1255, allocations: 19.88 kB / 0.5165 GB, free: 13.16 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.126, allocations: 262 kB / 0.5168 GB, free: 12.91 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.1279, allocations: 1.18 MB / 0.5179 GB, free: 11.72 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.1293, allocations: 0.7797 MB / 0.5187 GB, free: 10.94 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.004686/0.134, allocations: 5.092 MB / 0.5237 GB, free: 5.824 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007367/0.1347, allocations: 407.2 kB / 0.524 GB, free: 5.398 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004765/0.1395, allocations: 2.323 MB / 0.5263 GB, free: 3.07 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.1425, allocations: 2.011 MB / 0.5283 GB, free: 1.055 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0008279/0.1433, allocations: 260 kB / 0.5285 GB, free: 0.8008 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008968/0.1442, allocations: 272 kB / 0.5288 GB, free: 0.5352 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0008637/0.1451, allocations: 1.282 MB / 0.53 GB, free: 15.25 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.1466, allocations: 1.173 MB / 0.5312 GB, free: 14.07 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.1496, allocations: 2.835 MB / 0.534 GB, free: 11.23 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1496, allocations: 0 / 0.534 GB, free: 11.23 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1496, allocations: 0 / 0.534 GB, free: 11.23 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.905e-05/0.1496, allocations: 0 / 0.534 GB, free: 11.23 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.004714/0.1543, allocations: 3.371 MB / 0.5372 GB, free: 7.809 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1544, allocations: 8.031 kB / 0.5373 GB, free: 7.801 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000703/0.1551, allocations: 478.9 kB / 0.5377 GB, free: 7.332 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.1565, allocations: 1.016 MB / 0.5387 GB, free: 6.277 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.1567, allocations: 184.2 kB / 0.5389 GB, free: 6.098 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.1569, allocations: 204.3 kB / 0.5391 GB, free: 5.898 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/0.1595, allocations: 2.3 MB / 0.5413 GB, free: 3.316 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/0.1595, allocations: 15.83 kB / 0.5413 GB, free: 3.301 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.1597, allocations: 87.97 kB / 0.5414 GB, free: 3.215 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002485/0.1599, allocations: 313.8 kB / 0.5417 GB, free: 2.91 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.1613, allocations: 0.9301 MB / 0.5426 GB, free: 1.98 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.01085/0.1721, allocations: 10.53 MB / 0.5529 GB, free: 7.172 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.1734, allocations: 0.7612 MB / 0.5537 GB, free: 6.383 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.1738, allocations: 331.1 kB / 0.554 GB, free: 6.047 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.717e-05/0.1739, allocations: 27.94 kB / 0.554 GB, free: 6.02 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1739, allocations: 49.39 kB / 0.554 GB, free: 5.961 MB / 474.8 MB Notification: Performance of pre-optimization done (n=136): time 3.316e-06/0.1739, allocations: 3.938 kB / 0.554 GB, free: 5.957 MB / 474.8 MB Notification: Performance of matching and sorting (n=136): time 0.005363/0.1793, allocations: 1.987 MB / 0.556 GB, free: 3.945 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.1794, allocations: 273 kB / 0.5562 GB, free: 3.617 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.1807, allocations: 1.33 MB / 0.5575 GB, free: 2.258 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.1808, allocations: 53.7 kB / 0.5576 GB, free: 2.199 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00057/0.1814, allocations: 1.124 MB / 0.5587 GB, free: 1.062 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.1818, allocations: 0.5268 MB / 0.5592 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007637/0.1826, allocations: 456.6 kB / 0.5596 GB, free: 80 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1827, allocations: 476.8 kB / 0.5601 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.1831, allocations: 271.7 kB / 0.5604 GB, free: 15.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000819/0.1839, allocations: 1.254 MB / 0.5616 GB, free: 13.71 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.1852, allocations: 1.432 MB / 0.563 GB, free: 11.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.1852, allocations: 4 kB / 0.563 GB, free: 11.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004326/0.1895, allocations: 1.994 MB / 0.5649 GB, free: 9.945 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.1896, allocations: 14.19 kB / 0.5649 GB, free: 9.934 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.1896, allocations: 16 kB / 0.565 GB, free: 9.918 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/0.1929, allocations: 0.9806 MB / 0.5659 GB, free: 8.922 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.1943, allocations: 439.2 kB / 0.5663 GB, free: 8.492 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008105/0.2024, allocations: 9.206 MB / 0.5753 GB, free: 14.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.204, allocations: 206.6 kB / 0.5755 GB, free: 14.61 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.2041, allocations: 83.92 kB / 0.5756 GB, free: 14.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,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.0007109/0.2048, allocations: 272 kB / 0.5759 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.2051, allocations: 214.9 kB / 0.5761 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.2072, allocations: 1.434 MB / 0.5775 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.2072, allocations: 16 kB / 0.5775 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.2072, allocations: 4 kB / 0.5775 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2073, allocations: 7.969 kB / 0.5775 GB, free: 12.54 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.2089, allocations: 1.02 MB / 0.5785 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2089, allocations: 4 kB / 0.5785 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.2099, allocations: 379.4 kB / 0.5789 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.211, allocations: 470 kB / 0.5793 GB, free: 10.63 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.2111, allocations: 47.94 kB / 0.5794 GB, free: 10.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004912/0.2161, allocations: 7.985 MB / 0.5871 GB, free: 2.141 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2161, allocations: 4 kB / 0.5872 GB, free: 2.137 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/0.219, allocations: 1.903 MB / 0.589 GB, free: 196 kB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008887/0.2199, allocations: 432.4 kB / 0.5894 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.2201, allocations: 35.94 kB / 0.5895 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006642/0.2208, allocations: 59.72 kB / 0.5895 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.221, allocations: 111.8 kB / 0.5896 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.221, allocations: 39.94 kB / 0.5897 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006162/0.2217, allocations: 0.7287 MB / 0.5904 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2217, allocations: 0 / 0.5904 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001852/0.2235, allocations: 0.8929 MB / 0.5912 GB, free: 13.91 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.0002265/0.2237, allocations: 148.7 kB / 0.5914 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002685/0.2264, allocations: 1.915 MB / 0.5933 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2264, allocations: 4 kB / 0.5933 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.2278, allocations: 1.204 MB / 0.5944 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.2289, allocations: 341.8 kB / 0.5948 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.2346, allocations: 4.55 MB / 0.5992 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.2351, allocations: 0.6281 MB / 0.5998 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007979/0.2359, allocations: 203.2 kB / 0.6 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008355/0.2368, allocations: 457.9 kB / 0.6004 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/0.2368, allocations: 0 / 0.6004 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of Templates: time 0.04333/0.2801, allocations: 37.63 MB / 0.6372 GB, free: 14.96 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.956416007131338]