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.008645/0.008645, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.000885/0.000885, allocations: 87.67 kB / 25.62 MB, free: 6.996 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.001352/0.001352, allocations: 170 kB / 29.46 MB, free: 3.191 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.9753/0.9753, allocations: 177.1 MB / 210.3 MB, free: 3.605 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.6492/0.6492, allocations: 102.4 MB / 369.8 MB, free: 376 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.513e-06/1.513e-06, allocations: 3.938 kB / 469.8 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.448e-05, allocations: 5.438 kB / 469.8 MB, free: 18.94 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.122/0.122, allocations: 56.23 MB / 0.5137 GB, free: 96 kB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.1264, allocations: 2.191 MB / 0.5159 GB, free: 13.9 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007008/0.1271, allocations: 19.88 kB / 0.5159 GB, free: 13.88 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.1276, allocations: 266 kB / 0.5162 GB, free: 13.62 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.1291, allocations: 1.176 MB / 0.5173 GB, free: 12.43 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1308, allocations: 0.7836 MB / 0.5181 GB, free: 11.65 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.004155/0.1349, allocations: 5.088 MB / 0.523 GB, free: 6.539 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.1355, allocations: 407.2 kB / 0.5234 GB, free: 6.113 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.1388, allocations: 2.319 MB / 0.5257 GB, free: 3.789 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.1409, allocations: 1.999 MB / 0.5276 GB, free: 1.785 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.1412, allocations: 260 kB / 0.5279 GB, free: 1.531 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004618/0.1417, allocations: 272 kB / 0.5282 GB, free: 1.266 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007848/0.1424, allocations: 1.294 MB / 0.5294 GB, free: 15.96 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.1437, allocations: 1.177 MB / 0.5306 GB, free: 14.79 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.1466, allocations: 2.854 MB / 0.5334 GB, free: 11.93 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1466, allocations: 3.938 kB / 0.5334 GB, free: 11.92 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1466, allocations: 0 / 0.5334 GB, free: 11.92 MB / 458.8 MB Notification: Performance of Transformations before backend: time 5.667e-05/0.1467, allocations: 0 / 0.5334 GB, free: 11.92 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.005269/0.152, allocations: 3.481 MB / 0.5368 GB, free: 8.395 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.152, allocations: 8.031 kB / 0.5368 GB, free: 8.387 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007776/0.1528, allocations: 479 kB / 0.5372 GB, free: 7.918 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.1545, allocations: 1.148 MB / 0.5383 GB, free: 6.73 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.1547, allocations: 188.1 kB / 0.5385 GB, free: 6.547 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.1549, allocations: 204.3 kB / 0.5387 GB, free: 6.348 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/0.1582, allocations: 2.467 MB / 0.5411 GB, free: 3.598 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.364e-05/0.1583, allocations: 23.81 kB / 0.5411 GB, free: 3.574 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.1584, allocations: 79.97 kB / 0.5412 GB, free: 3.496 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002461/0.1587, allocations: 317.7 kB / 0.5415 GB, free: 3.188 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.1607, allocations: 1.178 MB / 0.5427 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.01085/0.1716, allocations: 11.07 MB / 0.5535 GB, free: 6.645 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.1732, allocations: 0.8376 MB / 0.5543 GB, free: 5.781 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.1738, allocations: 375.1 kB / 0.5547 GB, free: 5.402 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.1738, allocations: 28 kB / 0.5547 GB, free: 5.375 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.1739, allocations: 61.31 kB / 0.5547 GB, free: 5.305 MB / 474.8 MB Notification: Performance of pre-optimization done (n=136): time 5.019e-06/0.1739, allocations: 0 / 0.5547 GB, free: 5.305 MB / 474.8 MB Notification: Performance of matching and sorting (n=136): time 0.006378/0.1803, allocations: 2.139 MB / 0.5568 GB, free: 3.141 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.1804, allocations: 273 kB / 0.5571 GB, free: 2.812 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.1817, allocations: 1.362 MB / 0.5584 GB, free: 1.422 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.1819, allocations: 49.7 kB / 0.5585 GB, free: 1.367 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.1824, allocations: 1.124 MB / 0.5596 GB, free: 236 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006427/0.1831, allocations: 0.5192 MB / 0.5601 GB, free: 15.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004584/0.1835, allocations: 444.8 kB / 0.5605 GB, free: 15.27 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.1836, allocations: 480.7 kB / 0.561 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/0.1843, allocations: 355.7 kB / 0.5613 GB, free: 14.45 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.1853, allocations: 1.325 MB / 0.5626 GB, free: 12.75 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.187, allocations: 1.55 MB / 0.5641 GB, free: 10.88 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.187, allocations: 4 kB / 0.5641 GB, free: 10.88 MB / 490.8 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005361/0.1924, allocations: 2.185 MB / 0.5662 GB, free: 8.668 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.1924, allocations: 12 kB / 0.5663 GB, free: 8.656 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.1924, allocations: 20.62 kB / 0.5663 GB, free: 8.637 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003844/0.1963, allocations: 1.004 MB / 0.5673 GB, free: 7.617 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.1977, allocations: 463.3 kB / 0.5677 GB, free: 7.164 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00912/0.2068, allocations: 9.454 MB / 0.5769 GB, free: 13.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.2084, allocations: 234.5 kB / 0.5772 GB, free: 12.96 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.2086, allocations: 100.1 kB / 0.5773 GB, free: 12.87 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.0006774/0.2093, allocations: 283.9 kB / 0.5775 GB, free: 12.58 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.2096, allocations: 214.9 kB / 0.5777 GB, free: 12.37 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.2123, allocations: 1.548 MB / 0.5792 GB, free: 10.79 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.2123, allocations: 12 kB / 0.5793 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.2123, allocations: 7.938 kB / 0.5793 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.2124, allocations: 11.97 kB / 0.5793 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.2145, allocations: 1.372 MB / 0.5806 GB, free: 9.332 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.2145, allocations: 4 kB / 0.5806 GB, free: 9.328 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.2157, allocations: 403.4 kB / 0.581 GB, free: 8.934 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.2171, allocations: 482.3 kB / 0.5815 GB, free: 8.445 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.2173, allocations: 43.94 kB / 0.5815 GB, free: 8.402 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005265/0.2226, allocations: 8.156 MB / 0.5895 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2226, allocations: 4 kB / 0.5895 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.2261, allocations: 2.06 MB / 0.5915 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000879/0.227, allocations: 472.2 kB / 0.5919 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.2272, allocations: 39.94 kB / 0.592 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007695/0.228, allocations: 83.84 kB / 0.592 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.2282, allocations: 119.7 kB / 0.5922 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.2283, allocations: 43.95 kB / 0.5922 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008281/0.2291, allocations: 0.7953 MB / 0.593 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2291, allocations: 4 kB / 0.593 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001843/0.231, allocations: 0.889 MB / 0.5939 GB, free: 11.21 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.0002221/0.2312, allocations: 144.7 kB / 0.594 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003314/0.2345, allocations: 2.047 MB / 0.596 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2345, allocations: 0 / 0.596 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.2358, allocations: 1.263 MB / 0.5972 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.2369, allocations: 342 kB / 0.5975 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006427/0.2433, allocations: 4.566 MB / 0.602 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.2438, allocations: 0.6321 MB / 0.6026 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001063/0.2449, allocations: 414.7 kB / 0.603 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.2453, allocations: 144.4 kB / 0.6032 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/0.2453, allocations: 0 / 0.6032 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.04342/0.2888, allocations: 35.95 MB / 0.6383 GB, free: 13.88 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.294726902851835]