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.00843/0.00843, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.0008375/0.0008375, allocations: 91.62 kB / 25.16 MB, free: 7.469 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.000877/0.000877, allocations: 165.8 kB / 29.06 MB, free: 3.664 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.9382/0.9382, allocations: 177.2 MB / 210 MB, free: 3.543 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.643/0.643, allocations: 102.4 MB / 369.5 MB, free: 316 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 1.272e-06/1.272e-06, allocations: 0 / 469.9 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.401e-05, allocations: 2.312 kB / 469.9 MB, free: 18.98 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.1016/0.1017, allocations: 56.29 MB / 0.5139 GB, free: 15.64 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.1044, allocations: 2.206 MB / 0.516 GB, free: 13.43 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.1046, allocations: 23.88 kB / 0.5161 GB, free: 13.41 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.105, allocations: 266 kB / 0.5163 GB, free: 13.14 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.1062, allocations: 1.165 MB / 0.5175 GB, free: 11.97 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008932/0.1071, allocations: 0.7758 MB / 0.5182 GB, free: 11.2 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.1101, allocations: 5.092 MB / 0.5232 GB, free: 6.082 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.1106, allocations: 403.2 kB / 0.5236 GB, free: 5.66 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1123, allocations: 2.323 MB / 0.5258 GB, free: 3.332 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.114, allocations: 1.995 MB / 0.5278 GB, free: 1.332 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.1143, allocations: 264 kB / 0.528 GB, free: 1.074 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.1148, allocations: 272 kB / 0.5283 GB, free: 0.8086 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007419/0.1155, allocations: 1.29 MB / 0.5296 GB, free: 15.52 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0009064/0.1164, allocations: 1.181 MB / 0.5307 GB, free: 14.33 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.1184, allocations: 2.862 MB / 0.5335 GB, free: 11.46 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1184, allocations: 0 / 0.5335 GB, free: 11.46 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1184, allocations: 3.984 kB / 0.5335 GB, free: 11.46 MB / 458.8 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.1184, allocations: 0 / 0.5335 GB, free: 11.46 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.004593/0.123, allocations: 3.473 MB / 0.5369 GB, free: 7.938 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1231, allocations: 12.03 kB / 0.5369 GB, free: 7.926 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.1237, allocations: 463 kB / 0.5374 GB, free: 7.473 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.1252, allocations: 1.16 MB / 0.5385 GB, free: 6.273 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.1253, allocations: 192.1 kB / 0.5387 GB, free: 6.086 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.1256, allocations: 204.3 kB / 0.5389 GB, free: 5.887 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.1282, allocations: 2.471 MB / 0.5413 GB, free: 3.133 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.1283, allocations: 11.94 kB / 0.5413 GB, free: 3.121 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.1284, allocations: 83.97 kB / 0.5414 GB, free: 3.039 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/0.1287, allocations: 313.8 kB / 0.5417 GB, free: 2.734 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.1305, allocations: 1.17 MB / 0.5428 GB, free: 1.562 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.008462/0.139, allocations: 11.08 MB / 0.5536 GB, free: 6.188 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.1404, allocations: 0.8386 MB / 0.5545 GB, free: 5.32 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.141, allocations: 391 kB / 0.5548 GB, free: 4.926 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-05/0.141, allocations: 24 kB / 0.5548 GB, free: 4.902 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1411, allocations: 53.39 kB / 0.5549 GB, free: 4.84 MB / 474.8 MB Notification: Performance of pre-optimization done (n=136): time 2.675e-06/0.1411, allocations: 0 / 0.5549 GB, free: 4.84 MB / 474.8 MB Notification: Performance of matching and sorting (n=136): time 0.005923/0.147, allocations: 2.147 MB / 0.557 GB, free: 2.668 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.1471, allocations: 273 kB / 0.5573 GB, free: 2.34 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.1482, allocations: 1.355 MB / 0.5586 GB, free: 0.957 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.785e-05/0.1483, allocations: 53.7 kB / 0.5586 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/0.1488, allocations: 1.116 MB / 0.5597 GB, free: 15.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.1491, allocations: 0.5191 MB / 0.5602 GB, free: 15.24 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004641/0.1496, allocations: 448.8 kB / 0.5607 GB, free: 14.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1497, allocations: 480.5 kB / 0.5611 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.1503, allocations: 355.7 kB / 0.5615 GB, free: 13.98 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.1513, allocations: 1.329 MB / 0.5628 GB, free: 12.28 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.1529, allocations: 1.542 MB / 0.5643 GB, free: 10.42 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.1529, allocations: 4 kB / 0.5643 GB, free: 10.41 MB / 490.8 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004723/0.1576, allocations: 2.185 MB / 0.5664 GB, free: 8.207 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1576, allocations: 12 kB / 0.5664 GB, free: 8.195 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.1577, allocations: 19.94 kB / 0.5664 GB, free: 8.176 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003295/0.161, allocations: 0.9997 MB / 0.5674 GB, free: 7.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.162, allocations: 459.2 kB / 0.5678 GB, free: 6.711 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007921/0.1699, allocations: 9.466 MB / 0.5771 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.171, allocations: 234.6 kB / 0.5773 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.1711, allocations: 95.94 kB / 0.5774 GB, free: 12.41 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.0005535/0.1717, allocations: 279.9 kB / 0.5777 GB, free: 12.12 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.172, allocations: 206.9 kB / 0.5779 GB, free: 11.92 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.1743, allocations: 1.54 MB / 0.5794 GB, free: 10.34 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.1743, allocations: 19.94 kB / 0.5794 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1743, allocations: 4 kB / 0.5794 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1743, allocations: 7.969 kB / 0.5794 GB, free: 10.31 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.1757, allocations: 1.387 MB / 0.5808 GB, free: 8.875 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1757, allocations: 4 kB / 0.5808 GB, free: 8.871 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.1768, allocations: 399.6 kB / 0.5811 GB, free: 8.48 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.178, allocations: 486.3 kB / 0.5816 GB, free: 7.988 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/0.1781, allocations: 55.92 kB / 0.5817 GB, free: 7.934 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004414/0.1825, allocations: 8.137 MB / 0.5896 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1825, allocations: 0 / 0.5896 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.1854, allocations: 2.071 MB / 0.5916 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006439/0.186, allocations: 464.2 kB / 0.5921 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.1862, allocations: 39.94 kB / 0.5921 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/0.1869, allocations: 91.84 kB / 0.5922 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.1871, allocations: 107.8 kB / 0.5923 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.1871, allocations: 51.94 kB / 0.5923 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007308/0.1879, allocations: 0.7953 MB / 0.5931 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.1879, allocations: 0 / 0.5931 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001484/0.1894, allocations: 0.8929 MB / 0.594 GB, free: 10.76 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.0001876/0.1895, allocations: 152.6 kB / 0.5941 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002545/0.1921, allocations: 2.052 MB / 0.5961 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1921, allocations: 0 / 0.5961 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.1932, allocations: 1.267 MB / 0.5974 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.194, allocations: 330.2 kB / 0.5977 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.1991, allocations: 4.578 MB / 0.6022 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.1996, allocations: 0.636 MB / 0.6028 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007286/0.2003, allocations: 406.8 kB / 0.6032 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.2007, allocations: 140.4 kB / 0.6033 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/0.2007, allocations: 0 / 0.6033 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of Templates: time 0.03595/0.2367, allocations: 35.95 MB / 0.6384 GB, free: 13.42 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.347378930076957]