Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.00126/0.00126, allocations: 120.7 kB / 17.79 MB, free: 5.137 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.001494/0.001494, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 55.91 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.09461, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004625/0.09923, allocations: 3.505 MB / 421.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1009, allocations: 0.9501 MB / 422.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.101, allocations: 11.94 kB / 422.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1014, allocations: 107.1 kB / 422.3 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.1017, allocations: 190.4 kB / 422.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.102, allocations: 119.8 kB / 422.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007216/0.1027, allocations: 0.6341 MB / 423.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.103, allocations: 138.8 kB / 423.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.1032, allocations: 247.1 kB / 423.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.1036, allocations: 266.9 kB / 423.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.896e-05/0.1037, allocations: 52 kB / 424 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.1037, allocations: 59.94 kB / 424 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1039, allocations: 119.6 kB / 424.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.1041, allocations: 290.7 kB / 424.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007156/0.1049, allocations: 0.6419 MB / 425.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1049, allocations: 4 kB / 425.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1049, allocations: 0 / 425.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1049, allocations: 4 kB / 425.1 MB, free: 5.242 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001448/0.1063, allocations: 0.8604 MB / 425.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1064, allocations: 12.03 kB / 425.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.1065, allocations: 79.7 kB / 426 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1066, allocations: 64.56 kB / 426.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.1072, allocations: 407.2 kB / 426.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.1073, allocations: 63.27 kB / 426.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.1074, allocations: 32.38 kB / 426.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.1081, allocations: 478 kB / 427 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1082, allocations: 0 / 427 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.1082, allocations: 12 kB / 427.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1082, allocations: 8 kB / 427.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/0.1088, allocations: 287.8 kB / 427.3 MB, free: 2.809 MB / 350.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.00219/0.111, allocations: 1.312 MB / 428.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1121, allocations: 421.1 kB / 429.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.1124, allocations: 132.8 kB / 429.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1124, allocations: 4 kB / 429.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.1124, allocations: 38.56 kB / 429.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.1124, allocations: 0 / 429.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001182/0.1136, allocations: 0.6109 MB / 429.9 MB, free: 120 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002611/0.1139, allocations: 441 kB / 430.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.1144, allocations: 453.9 kB / 430.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.1145, allocations: 37.7 kB / 430.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.1146, allocations: 232.7 kB / 431 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.1148, allocations: 126.9 kB / 431.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.1149, allocations: 74.02 kB / 431.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1151, allocations: 350.8 kB / 431.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.1153, allocations: 112.6 kB / 431.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.1157, allocations: 252.1 kB / 431.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.1162, allocations: 281.1 kB / 432.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1162, allocations: 4 kB / 432.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000759/0.117, allocations: 412.6 kB / 432.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.117, allocations: 33.7 kB / 432.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.117, allocations: 0 / 432.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.1172, allocations: 57.62 kB / 432.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.1175, allocations: 63.84 kB / 432.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.1202, allocations: 2.969 MB / 435.7 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.1206, allocations: 55.77 kB / 435.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.1207, allocations: 8 kB / 435.8 MB, free: 9.707 MB / 366.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 (36): * Single equations (assignments): 33 * 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.0002281/0.1209, allocations: 170.4 kB / 435.9 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.121, allocations: 51.7 kB / 436 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.1211, allocations: 52.64 kB / 436 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1211, allocations: 4 kB / 436 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1211, allocations: 0 / 436 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007358/0.1218, allocations: 0.6492 MB / 436.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.1232, allocations: 0.8971 MB / 437.6 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1232, allocations: 3.984 kB / 437.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.1236, allocations: 67.91 kB / 437.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1236, allocations: 4 kB / 437.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.1236, allocations: 7.984 kB / 437.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1236, allocations: 8 kB / 437.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1236, allocations: 0 / 437.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008818/0.1245, allocations: 0.5205 MB / 438.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.1247, allocations: 164.7 kB / 438.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.1248, allocations: 8.094 kB / 438.3 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.1251, allocations: 23.92 kB / 438.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1251, allocations: 23.97 kB / 438.4 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.1251, allocations: 12 kB / 438.4 MB, free: 6.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.1255, allocations: 315.1 kB / 438.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1255, allocations: 0 / 438.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004472/0.126, allocations: 131.9 kB / 438.8 MB, free: 6.406 MB / 366.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 (32): * Single equations (assignments): 32 * 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.00122/0.1272, allocations: 1.068 MB / 439.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009495/0.1281, allocations: 0.5516 MB / 440.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1281, allocations: 0 / 440.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.1284, allocations: 131.9 kB / 440.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.129, allocations: 133.9 kB / 440.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/0.1352, allocations: 4.265 MB / 445 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.16/0.2951, allocations: 0.8132 MB / 445.8 MB, free: 30.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.2954, allocations: 62.27 kB / 445.9 MB, free: 30.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.2956, allocations: 159.3 kB / 446 MB, free: 30.02 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2956, allocations: 0 / 446 MB, free: 30.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/0.3379, allocations: 12.82 MB / 458.8 MB, free: 27.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.17, allocations: 10.11 kB / 458.8 MB, free: 27.5 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.413849329110235]