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.009364/0.009364, allocations: 1.784 MB / 21.64 MB, free: 2.812 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.001363/0.001363, allocations: 81.05 kB / 25.48 MB, free: 6.395 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.001476/0.001476, allocations: 164.3 kB / 28.89 MB, free: 3.363 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.9649/0.9649, allocations: 177.2 MB / 209.3 MB, free: 2.219 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.7236/0.7236, allocations: 102.4 MB / 368.3 MB, free: 0.7305 MB / 330.8 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.054e-06/2.054e-06, allocations: 0 / 415.1 MB, free: 2.168 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.809e-05, allocations: 4.562 kB / 415.1 MB, free: 2.164 MB / 378.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.1137/0.1138, allocations: 62.12 MB / 477.2 MB, free: 4.102 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.117, allocations: 2.245 MB / 479.4 MB, free: 1.852 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.1173, allocations: 27.81 kB / 479.5 MB, free: 1.824 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.1177, allocations: 258 kB / 479.7 MB, free: 1.57 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.119, allocations: 1.173 MB / 480.9 MB, free: 400 kB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1201, allocations: 0.7835 MB / 481.7 MB, free: 15.61 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004076/0.1241, allocations: 5.097 MB / 486.8 MB, free: 10.5 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.1246, allocations: 419.3 kB / 487.2 MB, free: 10.04 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.1269, allocations: 2.331 MB / 489.5 MB, free: 7.707 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.1288, allocations: 1.933 MB / 491.4 MB, free: 5.77 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005552/0.1293, allocations: 260 kB / 491.7 MB, free: 5.516 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.1298, allocations: 272 kB / 492 MB, free: 5.25 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006893/0.1304, allocations: 1.278 MB / 493.2 MB, free: 3.969 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008697/0.1313, allocations: 1.181 MB / 494.4 MB, free: 2.785 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.1332, allocations: 2.831 MB / 497.3 MB, free: 15.95 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1332, allocations: 0 / 497.3 MB, free: 15.95 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1332, allocations: 4 kB / 497.3 MB, free: 15.94 MB / 474.8 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.1332, allocations: 0 / 497.3 MB, free: 15.94 MB / 474.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.00446/0.1377, allocations: 3.078 MB / 0.4886 GB, free: 12.82 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1377, allocations: 15.97 kB / 0.4886 GB, free: 12.81 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/0.1383, allocations: 364.6 kB / 0.489 GB, free: 12.45 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.1393, allocations: 0.8073 MB / 0.4898 GB, free: 11.61 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.1394, allocations: 188.1 kB / 0.4899 GB, free: 11.42 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/0.1397, allocations: 208.2 kB / 0.4901 GB, free: 11.22 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.1419, allocations: 2.199 MB / 0.4923 GB, free: 8.789 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/0.142, allocations: 15.92 kB / 0.4923 GB, free: 8.773 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.1421, allocations: 83.97 kB / 0.4924 GB, free: 8.691 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002281/0.1424, allocations: 321.8 kB / 0.4927 GB, free: 8.379 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.1436, allocations: 0.888 MB / 0.4936 GB, free: 7.484 MB / 474.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.008324/0.1519, allocations: 7.904 MB / 0.5013 GB, free: 15.37 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1531, allocations: 0.8436 MB / 0.5021 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.1535, allocations: 286.7 kB / 0.5024 GB, free: 14.2 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.264e-05/0.1536, allocations: 27.98 kB / 0.5024 GB, free: 14.18 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.1537, allocations: 54.5 kB / 0.5024 GB, free: 14.11 MB / 490.8 MB Notification: Performance of pre-optimization done (n=136): time 3.357e-06/0.1537, allocations: 0 / 0.5024 GB, free: 14.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=136): time 0.004871/0.1585, allocations: 1.684 MB / 0.5041 GB, free: 12.41 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.1586, allocations: 276.8 kB / 0.5044 GB, free: 12.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008377/0.1595, allocations: 1.083 MB / 0.5054 GB, free: 10.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 9.564e-05/0.1596, allocations: 53.7 kB / 0.5055 GB, free: 10.92 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.16, allocations: 0.9548 MB / 0.5064 GB, free: 9.953 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.1603, allocations: 0.5034 MB / 0.5069 GB, free: 9.445 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/0.1608, allocations: 410.9 kB / 0.5073 GB, free: 9.035 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.1609, allocations: 305.1 kB / 0.5076 GB, free: 8.734 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.1613, allocations: 266.7 kB / 0.5078 GB, free: 8.473 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.1623, allocations: 0.9603 MB / 0.5088 GB, free: 7.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.1635, allocations: 1.201 MB / 0.5099 GB, free: 5.793 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.1635, allocations: 11.94 kB / 0.5099 GB, free: 5.781 MB / 490.8 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.003657/0.1671, allocations: 1.674 MB / 0.5116 GB, free: 4.074 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1671, allocations: 15.94 kB / 0.5116 GB, free: 4.059 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.1672, allocations: 19.98 kB / 0.5116 GB, free: 4.039 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.1701, allocations: 0.9649 MB / 0.5126 GB, free: 3.059 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.1713, allocations: 0.4991 MB / 0.513 GB, free: 2.559 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1966/0.3679, allocations: 6.818 MB / 0.5197 GB, free: 80.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.3693, allocations: 212.5 kB / 0.5199 GB, free: 80.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.3695, allocations: 85.22 kB / 0.52 GB, free: 80.69 MB / 490.8 MB 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.0006138/0.3701, allocations: 227.8 kB / 0.5202 GB, free: 80.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.3703, allocations: 138.7 kB / 0.5203 GB, free: 80.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.3723, allocations: 1.247 MB / 0.5216 GB, free: 80.45 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3723, allocations: 13.34 kB / 0.5216 GB, free: 80.45 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3723, allocations: 7.812 kB / 0.5216 GB, free: 80.45 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.3724, allocations: 8.672 kB / 0.5216 GB, free: 80.45 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.3736, allocations: 0.8649 MB / 0.5224 GB, free: 80.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3736, allocations: 4.219 kB / 0.5224 GB, free: 80.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/0.3755, allocations: 0.7647 MB / 0.5232 GB, free: 80.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.3767, allocations: 0.5163 MB / 0.5237 GB, free: 80.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.3768, allocations: 47.89 kB / 0.5237 GB, free: 80.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.3799, allocations: 5.769 MB / 0.5294 GB, free: 75.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3799, allocations: 4.156 kB / 0.5294 GB, free: 75.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.382, allocations: 1.649 MB / 0.531 GB, free: 75.15 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.3824, allocations: 370.1 kB / 0.5313 GB, free: 75.15 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.3826, allocations: 46.48 kB / 0.5314 GB, free: 75.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.3832, allocations: 54.02 kB / 0.5314 GB, free: 75.14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.3834, allocations: 116.4 kB / 0.5315 GB, free: 75.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.3835, allocations: 41.55 kB / 0.5316 GB, free: 75.14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0004342/0.3839, allocations: 0.5509 MB / 0.5321 GB, free: 75.1 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.3839, allocations: 1.812 kB / 0.5321 GB, free: 75.1 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.001451/0.3854, allocations: 0.8927 MB / 0.533 GB, free: 75.05 MB / 490.8 MB 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.0001759/0.3855, allocations: 125.2 kB / 0.5331 GB, free: 74.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.3874, allocations: 1.588 MB / 0.5347 GB, free: 74.41 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-05/0.3874, allocations: 22.5 kB / 0.5347 GB, free: 74.41 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.3883, allocations: 0.939 MB / 0.5356 GB, free: 73.86 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/0.3892, allocations: 425.9 kB / 0.536 GB, free: 73.71 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.3933, allocations: 4.117 MB / 0.54 GB, free: 71.73 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3937, allocations: 0.5844 MB / 0.5406 GB, free: 71.41 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0005729/0.3943, allocations: 210.8 kB / 0.5408 GB, free: 71.35 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/0.3951, allocations: 424.5 kB / 0.5412 GB, free: 71.2 MB / 490.8 MB Notification: Performance of SimCode: time 1.593e-06/0.3951, allocations: 0 / 0.5412 GB, free: 71.2 MB / 490.8 MB Notification: Performance of Templates: time 0.03391/0.4291, allocations: 38.95 MB / 0.5792 GB, free: 34.81 MB / 490.8 MB " [Timeout remaining time 800] 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 -s gbode -gbm=radauIIA3 -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.875302196945995]