Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 207.6 MB / 231.8 MB, free: 4.191 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 51.92 kB / 342.2 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09358, allocations: 49.13 MB / 391.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005286/0.09886, allocations: 3.681 MB / 395 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.101, allocations: 1.017 MB / 396.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003882/0.1014, allocations: 4 kB / 396.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.1018, allocations: 119 kB / 396.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005932/0.1024, allocations: 202.3 kB / 396.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.1028, allocations: 131.8 kB / 396.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1038, allocations: 0.6847 MB / 397.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.104, allocations: 130.3 kB / 397.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.1044, allocations: 267 kB / 397.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.1049, allocations: 294.8 kB / 397.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.105, allocations: 56 kB / 397.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1051, allocations: 60 kB / 398 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1053, allocations: 123.5 kB / 398.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.1057, allocations: 306.5 kB / 398.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000852/0.1065, allocations: 0.7003 MB / 399.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1065, allocations: 0 / 399.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1065, allocations: 0 / 399.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.1065, allocations: 0 / 399.1 MB, free: 0.9844 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001831/0.1084, allocations: 0.9124 MB / 400 MB, free: 16 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1084, allocations: 8.031 kB / 400 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.1086, allocations: 83.31 kB / 400.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1087, allocations: 72.52 kB / 400.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/0.1095, allocations: 430.9 kB / 400.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.1096, allocations: 62.91 kB / 400.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.1097, allocations: 36.33 kB / 400.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.1105, allocations: 488.9 kB / 401.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1106, allocations: 7.875 kB / 401.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.1106, allocations: 24 kB / 401.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1106, allocations: 8 kB / 401.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008314/0.1114, allocations: 342.4 kB / 401.5 MB, free: 14.37 MB / 334.1 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.002243/0.1137, allocations: 1.298 MB / 402.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007045/0.1144, allocations: 363.4 kB / 403.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.1148, allocations: 168.8 kB / 403.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1148, allocations: 4 kB / 403.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.1149, allocations: 38.56 kB / 403.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.1149, allocations: 4 kB / 403.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001809/0.1167, allocations: 0.7162 MB / 404.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000257/0.1169, allocations: 448.9 kB / 404.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.1175, allocations: 465.8 kB / 405 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.1176, allocations: 33.7 kB / 405 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.1178, allocations: 244.6 kB / 405.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.1179, allocations: 126.9 kB / 405.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1181, allocations: 77.69 kB / 405.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1183, allocations: 362.8 kB / 405.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.1186, allocations: 131.9 kB / 406 MB, free: 9.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.1191, allocations: 290.5 kB / 406.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.1199, allocations: 337.2 kB / 406.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1199, allocations: 4 kB / 406.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001065/0.1209, allocations: 482.1 kB / 407.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.121, allocations: 33.73 kB / 407.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.121, allocations: 0 / 407.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.1212, allocations: 53.69 kB / 407.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.1216, allocations: 79.88 kB / 407.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.1243, allocations: 2.974 MB / 410.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.1248, allocations: 51.8 kB / 410.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.1248, allocations: 11.98 kB / 410.3 MB, free: 4.961 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002667/0.1251, allocations: 173.8 kB / 410.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.1252, allocations: 59.67 kB / 410.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.1253, allocations: 52.77 kB / 410.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1254, allocations: 4 kB / 410.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.1254, allocations: 7.922 kB / 410.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/0.1264, allocations: 0.7271 MB / 411.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.1281, allocations: 1.001 MB / 412.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1281, allocations: 7.938 kB / 412.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.1286, allocations: 87.88 kB / 412.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.1286, allocations: 4 kB / 412.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.1286, allocations: 8.219 kB / 412.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1286, allocations: 0 / 412.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1286, allocations: 4 kB / 412.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.1299, allocations: 0.6449 MB / 413 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.1302, allocations: 180.5 kB / 413.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.1303, allocations: 8 kB / 413.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.1307, allocations: 32.03 kB / 413.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.1308, allocations: 31.77 kB / 413.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.1308, allocations: 8 kB / 413.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004326/0.1312, allocations: 327.1 kB / 413.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1312, allocations: 0 / 413.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.1318, allocations: 139.8 kB / 413.7 MB, free: 1.258 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001686/0.1334, allocations: 1.193 MB / 414.9 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.1347, allocations: 0.6293 MB / 415.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1347, allocations: 0 / 415.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.1351, allocations: 172.3 kB / 415.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.1358, allocations: 145.7 kB / 415.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/0.1432, allocations: 4.526 MB / 420.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.1437, allocations: 0.8353 MB / 421.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003048/0.144, allocations: 56.36 kB / 421.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.1443, allocations: 175.4 kB / 421.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of SimCode: time 1.233e-06/0.1443, allocations: 0 / 421.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04937/0.1937, allocations: 13.74 MB / 435.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.19, allocations: 12.94 kB / 435.2 MB, free: 11.51 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.530497059226036]