Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.conf.json 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: 75.59 kB / 21.18 MB, free: 3.391 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.001164/0.001164, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.9667/0.9667, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.585e-05, allocations: 6.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.005515/0.005531, allocations: 1.879 MB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.007115, allocations: 1.009 MB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.00719, allocations: 7.938 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.01043, allocations: 31.83 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.01064, allocations: 71.53 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.01103, allocations: 139.3 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.01126, allocations: 215.1 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.0113, allocations: 5.812 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.01147, allocations: 127.5 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.01158, allocations: 87.77 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.0116, allocations: 8 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.01177, allocations: 103.8 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.01185, allocations: 59.81 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.0119, allocations: 51.78 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.01217, allocations: 239.2 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.01217, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01217, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.01218, allocations: 3.938 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006718/0.01285, allocations: 0.5503 MB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.01288, allocations: 8.031 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.01308, allocations: 56.81 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.01325, allocations: 164.8 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.01327, allocations: 12.61 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.01328, allocations: 12.36 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.01354, allocations: 191.4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.01355, allocations: 192 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.01357, allocations: 8.375 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.0136, allocations: 20.09 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.01372, allocations: 64.58 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/0.01436, allocations: 0.8448 MB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.01448, allocations: 109.2 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.01454, allocations: 47.17 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.01457, allocations: 11.94 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.01459, allocations: 41.39 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.01459, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002784/0.01487, allocations: 117.4 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.0149, allocations: 106.8 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.01503, allocations: 250.6 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.01504, allocations: 25.7 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.01512, allocations: 183 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.01515, allocations: 51.58 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.0152, allocations: 43.34 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.0153, allocations: 0.5004 MB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.01535, allocations: 19.98 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-05/0.01542, allocations: 74.05 kB / 385.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.01555, allocations: 98.05 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01556, allocations: 4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001913/0.01575, allocations: 137.3 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.01576, allocations: 9.094 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.01578, allocations: 11.98 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.0158, allocations: 4 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.01591, allocations: 31.97 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.01592, allocations: 3.938 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.016, allocations: 23.95 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.01601, allocations: 7.984 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/0.01609, allocations: 168.6 kB / 386 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.01614, allocations: 19.89 kB / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.01633, allocations: 131 kB / 386.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01633, allocations: 0 / 386.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01634, allocations: 7.938 kB / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01634, allocations: 0 / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.01656, allocations: 176.6 kB / 386.4 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.01657, allocations: 12 kB / 386.4 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.01664, allocations: 27.91 kB / 386.4 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01664, allocations: 0 / 386.4 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01665, allocations: 7.938 kB / 386.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01665, allocations: 7.984 kB / 386.4 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01665, allocations: 4 kB / 386.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.01689, allocations: 486.8 kB / 386.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.01691, allocations: 27.75 kB / 386.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.01693, allocations: 0 / 386.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01703, allocations: 12 kB / 386.9 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.01709, allocations: 23.91 kB / 387 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.0171, allocations: 4 kB / 387 MB, free: 9.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.919e-05/0.01716, allocations: 175.9 kB / 387.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01716, allocations: 0 / 387.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.01743, allocations: 79.77 kB / 387.2 MB, free: 9.043 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004196/0.01785, allocations: 147.1 kB / 387.4 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.01805, allocations: 168.6 kB / 387.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01805, allocations: 0 / 387.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.01814, allocations: 120.7 kB / 387.6 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.01845, allocations: 43.39 kB / 387.7 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/0.01923, allocations: 419.6 kB / 388.1 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.387e-05/0.01929, allocations: 87.31 kB / 388.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.027e-05/0.01935, allocations: 28.61 kB / 388.2 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.01939, allocations: 16.5 kB / 388.2 MB, free: 7.922 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01939, allocations: 0 / 388.2 MB, free: 7.922 MB / 362.7 MB Notification: Performance of Templates: time 0.004353/0.02375, allocations: 3.069 MB / 391.3 MB, free: 4.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3419346739538014]