Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001252/0.001252, allocations: 120 kB / 18.45 MB, free: 4.605 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.001326/0.001326, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.35/1.35, allocations: 207.6 MB / 231.8 MB, free: 4.195 MB / 174.1 MB " [Timeout remaining time 179] 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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001671/0.001671, allocations: 55.91 kB / 342.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09712, allocations: 49.13 MB / 391.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005028/0.1021, allocations: 3.492 MB / 394.9 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1038, allocations: 0.9936 MB / 395.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1039, allocations: 7.938 kB / 395.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.1043, allocations: 111.1 kB / 396 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.1046, allocations: 182.4 kB / 396.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1049, allocations: 127.8 kB / 396.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007314/0.1056, allocations: 0.6497 MB / 396.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.1059, allocations: 130.9 kB / 397.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.1061, allocations: 239.1 kB / 397.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.1065, allocations: 266.9 kB / 397.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.829e-05/0.1066, allocations: 52 kB / 397.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.1067, allocations: 56 kB / 397.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1068, allocations: 115.6 kB / 397.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.107, allocations: 298.6 kB / 398.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006963/0.1077, allocations: 0.6459 MB / 398.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1077, allocations: 4 kB / 398.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1077, allocations: 4 kB / 398.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1077, allocations: 0 / 398.7 MB, free: 1.379 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001395/0.1091, allocations: 0.8502 MB / 399.6 MB, free: 484 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1092, allocations: 12.03 kB / 399.6 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.1093, allocations: 95.58 kB / 399.7 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1094, allocations: 64.56 kB / 399.7 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.1101, allocations: 395.3 kB / 400.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.1102, allocations: 63.25 kB / 400.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.1103, allocations: 28.38 kB / 400.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.111, allocations: 474.1 kB / 400.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.111, allocations: 7.875 kB / 400.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.1111, allocations: 16 kB / 400.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1111, allocations: 8 kB / 400.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.1116, allocations: 283.8 kB / 401 MB, free: 14.95 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.002057/0.1137, allocations: 1.3 MB / 402.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1148, allocations: 425.4 kB / 402.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.115, allocations: 124.8 kB / 402.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1151, allocations: 8 kB / 402.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1151, allocations: 42.5 kB / 402.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.1151, allocations: 0 / 402.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001148/0.1162, allocations: 0.6065 MB / 403.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002439/0.1165, allocations: 448.9 kB / 403.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005156/0.117, allocations: 450 kB / 404.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.117, allocations: 33.7 kB / 404.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.1173, allocations: 244.6 kB / 404.6 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.1174, allocations: 118.9 kB / 404.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1175, allocations: 78.02 kB / 404.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1177, allocations: 354.8 kB / 405.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.1179, allocations: 104.6 kB / 405.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.1183, allocations: 252.4 kB / 405.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.1188, allocations: 284.5 kB / 405.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1188, allocations: 4 kB / 405.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007261/0.1195, allocations: 417.2 kB / 406.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/0.1195, allocations: 41.59 kB / 406.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1195, allocations: 0 / 406.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.1197, allocations: 53.58 kB / 406.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.12, allocations: 67.89 kB / 406.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.1229, allocations: 2.957 MB / 409.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.1233, allocations: 47.8 kB / 409.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.1233, allocations: 12 kB / 409.4 MB, free: 5.863 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 (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.0002309/0.1235, allocations: 173.7 kB / 409.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.1236, allocations: 51.67 kB / 409.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.1237, allocations: 56.62 kB / 409.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1237, allocations: 4 kB / 409.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1237, allocations: 0 / 409.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007612/0.1245, allocations: 0.6541 MB / 410.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.1259, allocations: 0.9039 MB / 411.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1259, allocations: 0 / 411.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.1263, allocations: 63.95 kB / 411.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1263, allocations: 4 kB / 411.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.1263, allocations: 11.94 kB / 411.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1263, allocations: 8 kB / 411.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1263, allocations: 0 / 411.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008387/0.1272, allocations: 0.5202 MB / 411.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.1274, allocations: 156.8 kB / 412 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.1274, allocations: 11.98 kB / 412 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.1277, allocations: 12.06 kB / 412 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.1278, allocations: 23.97 kB / 412 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1278, allocations: 8 kB / 412 MB, free: 2.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004023/0.1282, allocations: 323.1 kB / 412.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1282, allocations: 0 / 412.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004422/0.1286, allocations: 135.9 kB / 412.5 MB, free: 2.547 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 (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.001241/0.1299, allocations: 1.08 MB / 413.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009179/0.1308, allocations: 0.5435 MB / 414.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.1308, allocations: 0 / 414.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.131, allocations: 120 kB / 414.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006472/0.1317, allocations: 141.8 kB / 414.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.138, allocations: 4.259 MB / 418.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.1385, allocations: 0.8198 MB / 419.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.1387, allocations: 56.36 kB / 419.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.139, allocations: 163.4 kB / 419.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of SimCode: time 1.343e-06/0.139, allocations: 0 / 419.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.1843, allocations: 12.82 MB / 432.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.14, allocations: 16 kB / 432.5 MB, free: 14.27 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.374638887587935]