Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002025/0.002025, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0025/0.0025, allocations: 214.1 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2549/0.2549, allocations: 46.91 MB / 360.8 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00373/0.00373, allocations: 75.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3846, allocations: 66.1 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003436/0.388, allocations: 1.713 MB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3894, allocations: 0.7722 MB / 0.5632 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.3894, allocations: 3.938 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3897, allocations: 27.83 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.39, allocations: 71.7 kB / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.3902, allocations: 63.75 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.3904, allocations: 155.3 kB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.3905, allocations: 5.594 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.3906, allocations: 63.7 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.3907, allocations: 87.58 kB / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3907, allocations: 4 kB / 0.5636 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.3909, allocations: 63.89 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.391, allocations: 51.83 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.3911, allocations: 63.61 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.3914, allocations: 177 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3914, allocations: 0 / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3914, allocations: 0 / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3914, allocations: 4 kB / 0.564 GB, free: 0.9648 MB / 398.1 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.0007441/0.3921, allocations: 397.4 kB / 0.5644 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3922, allocations: 8.031 kB / 0.5644 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.34e-05/0.3922, allocations: 54.67 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.3928, allocations: 72.77 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.393, allocations: 158.3 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3931, allocations: 4.375 kB / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.3931, allocations: 20.3 kB / 0.5647 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.3937, allocations: 252.1 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3937, allocations: 0 / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3938, allocations: 3.984 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.3938, allocations: 23.98 kB / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.3943, allocations: 243.7 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3956, allocations: 0.6244 MB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.396, allocations: 222.3 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3962, allocations: 80.77 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.3962, allocations: 4 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3962, allocations: 34.56 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.3962, allocations: 4 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007109/0.397, allocations: 288.5 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.397, allocations: 51.41 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.3973, allocations: 231.1 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3973, allocations: 25.7 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.3974, allocations: 124 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.3974, allocations: 47.58 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.3975, allocations: 37.7 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.3977, allocations: 330.8 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.3979, allocations: 83.84 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.3981, allocations: 115.3 kB / 0.5674 GB, free: 13.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.3985, allocations: 207.1 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3985, allocations: 0 / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004774/0.399, allocations: 249.4 kB / 0.5678 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.399, allocations: 8 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.399, allocations: 3.938 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.399, allocations: 4 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.4014, allocations: 271.5 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.412, allocations: 8.616 MB / 0.5765 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.4123, allocations: 27.84 kB / 0.5765 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.4123, allocations: 7.984 kB / 0.5765 GB, free: 3.191 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.4125, allocations: 143.1 kB / 0.5767 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.4125, allocations: 15.95 kB / 0.5767 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.413, allocations: 250.9 kB / 0.5769 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.413, allocations: 0 / 0.5769 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.413, allocations: 0 / 0.5769 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4131, allocations: 3.984 kB / 0.5769 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.4133, allocations: 220.5 kB / 0.5772 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4133, allocations: 0 / 0.5772 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.4151, allocations: 211.8 kB / 0.5774 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4151, allocations: 3.938 kB / 0.5774 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.4151, allocations: 8 kB / 0.5774 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008558/0.4237, allocations: 8.143 MB / 0.5853 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4237, allocations: 0 / 0.5853 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.4242, allocations: 286.3 kB / 0.5856 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.4242, allocations: 19.84 kB / 0.5856 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.4242, allocations: 12.08 kB / 0.5856 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.4244, allocations: 8 kB / 0.5856 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.4245, allocations: 23.89 kB / 0.5857 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.4245, allocations: 11.92 kB / 0.5857 GB, free: 9.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.4247, allocations: 187.2 kB / 0.5858 GB, free: 8.926 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4247, allocations: 0 / 0.5858 GB, free: 8.926 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004436/0.4252, allocations: 63.95 kB / 0.5859 GB, free: 8.863 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008173/0.426, allocations: 0.8255 MB / 0.5867 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.4281, allocations: 0.6078 MB / 0.5873 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4281, allocations: 0 / 0.5873 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.4296, allocations: 401.5 kB / 0.5877 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.4299, allocations: 55.09 kB / 0.5877 GB, free: 6.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.4338, allocations: 2.542 MB / 0.5902 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.4342, allocations: 0.7595 MB / 0.591 GB, free: 3.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003701/0.4346, allocations: 121.5 kB / 0.5911 GB, free: 3.402 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.4348, allocations: 91.36 kB / 0.5912 GB, free: 3.316 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4348, allocations: 0 / 0.5912 GB, free: 3.316 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.4756, allocations: 10.52 MB / 0.6014 GB, free: 8.949 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.89, allocations: 11.86 kB / 0.6014 GB, free: 8.938 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.955991894938052]