Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001451/0.001451, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001055/0.001055, allocations: 162.9 kB / 24.99 MB, free: 9.273 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2849/0.2849, allocations: 32.81 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.706e-05, allocations: 6.312 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003004/0.003021, allocations: 1.891 MB / 377.9 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.004609, allocations: 0.993 MB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.004687, allocations: 0 / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.004903, allocations: 39.7 kB / 378.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.005138, allocations: 75.53 kB / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.005503, allocations: 135.4 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.005732, allocations: 215 kB / 379.4 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.005768, allocations: 13.81 kB / 379.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.005925, allocations: 111.6 kB / 379.5 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.006026, allocations: 95.69 kB / 379.6 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.006045, allocations: 12 kB / 379.6 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.006183, allocations: 99.81 kB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.006257, allocations: 55.83 kB / 379.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.006315, allocations: 51.83 kB / 379.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.006576, allocations: 247 kB / 380 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.006578, allocations: 0 / 380 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006579, allocations: 0 / 380 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.006583, allocations: 0 / 380 MB, free: 0.9375 MB / 346.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.0005601/0.007143, allocations: 0.5425 MB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.007173, allocations: 12.03 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.007371, allocations: 52.81 kB / 380.6 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.007546, allocations: 176.7 kB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.007557, allocations: 8.609 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.007576, allocations: 16.36 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.007823, allocations: 187.3 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.007831, allocations: 192 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.007847, allocations: 12.36 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.007877, allocations: 20.16 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.007995, allocations: 60.58 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.008609, allocations: 0.8487 MB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.008739, allocations: 109.2 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.008798, allocations: 43.05 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.008824, allocations: 11.94 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.008845, allocations: 41.5 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.008846, allocations: 4 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002869/0.009133, allocations: 125.4 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.009173, allocations: 110.8 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.0093, allocations: 235.5 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.009313, allocations: 25.7 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.009386, allocations: 187 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.009413, allocations: 47.58 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.00947, allocations: 43.36 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.009575, allocations: 0.4962 MB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.009627, allocations: 20.23 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.209e-05/0.009699, allocations: 74.11 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.009827, allocations: 110 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.009828, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001802/0.01001, allocations: 129.4 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.01002, allocations: 4.156 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.01003, allocations: 16 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.01004, allocations: 7.938 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.01015, allocations: 27.97 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.01016, allocations: 4 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.01023, allocations: 19.94 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.01024, allocations: 8 kB / 383.8 MB, free: 12.8 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 7.641e-05/0.01031, allocations: 168.5 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.01036, allocations: 19.89 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.01054, allocations: 131 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01054, allocations: 4 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01055, allocations: 0 / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.01055, allocations: 4 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.01076, allocations: 188.6 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.01076, allocations: 8 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-05/0.01083, allocations: 27.92 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01083, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01084, allocations: 7.984 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.01084, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01084, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.01108, allocations: 0.4903 MB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.0111, allocations: 23.78 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.01112, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01122, allocations: 15.98 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.01127, allocations: 11.98 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01128, allocations: 7.984 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.434e-05/0.01137, allocations: 172.2 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.01137, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.01165, allocations: 79.75 kB / 385.2 MB, free: 11.39 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.0001749/0.01182, allocations: 159.6 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.01202, allocations: 160.8 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01202, allocations: 8.062 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.01211, allocations: 116.7 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.01242, allocations: 39.91 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/0.0132, allocations: 407.3 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.01326, allocations: 95.25 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.921e-05/0.01331, allocations: 28.62 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.01336, allocations: 16.48 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01336, allocations: 0 / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.004298/0.01766, allocations: 3.071 MB / 389.2 MB, free: 7.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2453825569245964]