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.0008558/0.0008558, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000866/0.000866, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9204/0.9204, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2503/0.2503, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.642e-05, allocations: 2.281 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.1633/0.1633, allocations: 1.793 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1643, allocations: 0.9331 MB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.1644, allocations: 2.531 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1646, allocations: 36.72 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1647, allocations: 82.52 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.165, allocations: 134.3 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1651, allocations: 215.5 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.1652, allocations: 12.61 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1653, allocations: 115.4 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.1654, allocations: 91.2 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1654, allocations: 8.719 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1656, allocations: 100.5 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.1656, allocations: 63.34 kB / 445.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.1657, allocations: 55.38 kB / 445.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1659, allocations: 256.9 kB / 446.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1659, allocations: 0 / 446.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1659, allocations: 0 / 446.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1659, allocations: 0 / 446.1 MB, free: 42.85 MB / 410.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.0005854/0.1665, allocations: 474.8 kB / 446.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1665, allocations: 8.188 kB / 446.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.1665, allocations: 46.44 kB / 446.6 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.1667, allocations: 53.03 kB / 446.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1669, allocations: 166.9 kB / 446.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1669, allocations: 8.047 kB / 446.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.1669, allocations: 15.84 kB / 446.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.1672, allocations: 267.1 kB / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1672, allocations: 192 / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1672, allocations: 16.12 kB / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.1672, allocations: 11.5 kB / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.1675, allocations: 223.9 kB / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.1681, allocations: 0.7589 MB / 448.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1683, allocations: 185.5 kB / 448.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1684, allocations: 96.36 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1684, allocations: 9.688 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.1684, allocations: 38.06 kB / 448.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.1684, allocations: 2.844 kB / 448.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004823/0.1689, allocations: 323.7 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.1689, allocations: 105.7 kB / 448.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1691, allocations: 264.9 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.1691, allocations: 28.61 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.1691, allocations: 131.1 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.1691, allocations: 40.53 kB / 449.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.1692, allocations: 39.12 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.1692, allocations: 335.2 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1694, allocations: 92.55 kB / 449.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1695, allocations: 139.4 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1697, allocations: 230.1 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1697, allocations: 0 / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003218/0.1701, allocations: 272.1 kB / 450.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1701, allocations: 5.938 kB / 450.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.1701, allocations: 17.2 kB / 450.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1701, allocations: 4.781 kB / 450.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1702, allocations: 40.91 kB / 450.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1702, allocations: 0 / 450.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.109e-05/0.1703, allocations: 33.14 kB / 450.5 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1703, allocations: 13.06 kB / 450.5 MB, free: 40.4 MB / 410.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 6.318e-05/0.1704, allocations: 146.2 kB / 450.6 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.1704, allocations: 19.92 kB / 450.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.1707, allocations: 215.5 kB / 450.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1707, allocations: 9.25 kB / 450.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1707, allocations: 0 / 450.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1707, allocations: 3.328 kB / 450.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.1709, allocations: 224.9 kB / 451.1 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1709, allocations: 5.625 kB / 451.1 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.171, allocations: 30.69 kB / 451.1 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.171, allocations: 0 / 451.1 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.171, allocations: 14.19 kB / 451.1 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.171, allocations: 2.531 kB / 451.2 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.171, allocations: 2.344 kB / 451.2 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.1713, allocations: 484.9 kB / 451.6 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.1713, allocations: 19.64 kB / 451.6 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1713, allocations: 2.938 kB / 451.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1714, allocations: 24.59 kB / 451.7 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1715, allocations: 16.58 kB / 451.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.1715, allocations: 6.812 kB / 451.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.559e-05/0.1716, allocations: 196.4 kB / 451.9 MB, free: 39.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1716, allocations: 0 / 451.9 MB, free: 39.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.1718, allocations: 77.77 kB / 452 MB, free: 39.52 MB / 410.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.000492/0.1723, allocations: 1.051 MB / 453 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1726, allocations: 282.9 kB / 453.3 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1726, allocations: 2.875 kB / 453.3 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.1728, allocations: 176.6 kB / 453.5 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1731, allocations: 46.88 kB / 453.5 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1751, allocations: 2.833 MB / 456.3 MB, free: 36.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.393e-05/0.1751, allocations: 130.7 kB / 456.5 MB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.436e-05/0.1752, allocations: 39.94 kB / 456.5 MB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.1753, allocations: 55.81 kB / 456.6 MB, free: 36.47 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1753, allocations: 0 / 456.6 MB, free: 36.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.193, allocations: 6.799 MB / 463.4 MB, free: 35.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/7.089, allocations: 3.125 kB / 463.4 MB, free: 35.16 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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: 9.139355476945639]