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.001673/0.001673, allocations: 70.03 kB / 21.24 MB, free: 0.5547 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.001898/0.001898, allocations: 153 kB / 24.49 MB, free: 3.852 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.398/1.398, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 50.8 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08355/0.08513, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00464/0.08977, allocations: 3.206 MB / 374.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.0913, allocations: 0.8918 MB / 375.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.09145, allocations: 11.94 kB / 375.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.09175, allocations: 107.1 kB / 375.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.09213, allocations: 186.4 kB / 376 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.09239, allocations: 123.8 kB / 376.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007376/0.09313, allocations: 0.6418 MB / 376.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.09338, allocations: 127.5 kB / 376.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.09365, allocations: 251.1 kB / 377.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.094, allocations: 226.9 kB / 377.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.737e-05/0.09408, allocations: 52 kB / 377.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.09419, allocations: 56 kB / 377.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.09431, allocations: 115.6 kB / 377.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002811/0.09459, allocations: 250.9 kB / 377.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.0953, allocations: 0.6537 MB / 378.4 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.0953, allocations: 0 / 378.4 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0953, allocations: 0 / 378.4 MB, free: 444 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.09531, allocations: 0 / 378.4 MB, free: 444 kB / 334.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.001433/0.09674, allocations: 0.7789 MB / 379.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.09677, allocations: 12.86 kB / 379.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.09689, allocations: 64.59 kB / 379.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.09749, allocations: 341.1 kB / 379.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.09762, allocations: 106.3 kB / 379.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.09768, allocations: 32.38 kB / 379.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.09864, allocations: 0.8307 MB / 380.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.09866, allocations: 0 / 380.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.0987, allocations: 20 kB / 380.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.09871, allocations: 11.94 kB / 380.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005977/0.0993, allocations: 278.4 kB / 380.9 MB, free: 13.75 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.00195/0.1013, allocations: 0.9481 MB / 381.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.1024, allocations: 338.2 kB / 382.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.1027, allocations: 132.7 kB / 382.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1027, allocations: 4 kB / 382.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1027, allocations: 38.56 kB / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.1028, allocations: 0 / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001142/0.1039, allocations: 459.4 kB / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/0.1042, allocations: 445 kB / 383.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.1046, allocations: 401.7 kB / 383.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.1047, allocations: 37.64 kB / 383.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.1049, allocations: 240.5 kB / 383.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.105, allocations: 115 kB / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1051, allocations: 81.97 kB / 384.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.1053, allocations: 354.7 kB / 384.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.1056, allocations: 138.3 kB / 384.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.1062, allocations: 0.6516 MB / 385.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.1068, allocations: 280.6 kB / 385.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1068, allocations: 0 / 385.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007831/0.1076, allocations: 439 kB / 385.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.1076, allocations: 37.73 kB / 386 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1076, allocations: 0 / 386 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.1078, allocations: 49.69 kB / 386 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.1081, allocations: 67.91 kB / 386.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.1108, allocations: 2.716 MB / 388.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.1112, allocations: 35.88 kB / 388.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.1112, allocations: 11.98 kB / 388.8 MB, free: 5.18 MB / 350.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.0002326/0.1114, allocations: 177.7 kB / 389 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.41e-05/0.1115, allocations: 43.77 kB / 389.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1116, allocations: 44.31 kB / 389.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1116, allocations: 4 kB / 389.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1116, allocations: 4 kB / 389.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007926/0.1124, allocations: 0.6542 MB / 389.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.1137, allocations: 0.7473 MB / 390.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1137, allocations: 0 / 390.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.1141, allocations: 67.89 kB / 390.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1141, allocations: 4 kB / 390.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.1141, allocations: 8 kB / 390.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1141, allocations: 8 kB / 390.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1141, allocations: 3.938 kB / 390.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.115, allocations: 0.5178 MB / 391.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.1152, allocations: 75.67 kB / 391.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.1152, allocations: 12 kB / 391.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.1155, allocations: 15.98 kB / 391.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.1156, allocations: 27.89 kB / 391.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.1156, allocations: 8 kB / 391.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.1159, allocations: 287.2 kB / 391.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1159, allocations: 0 / 391.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004444/0.1164, allocations: 139.8 kB / 391.7 MB, free: 2.18 MB / 350.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.000131/0.1165, allocations: 107.2 kB / 391.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000988/0.1175, allocations: 0.5727 MB / 392.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1175, allocations: 8.062 kB / 392.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.1178, allocations: 123.8 kB / 392.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.1184, allocations: 112.9 kB / 392.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1199, allocations: 0.8913 MB / 393.5 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.1201, allocations: 216.3 kB / 393.7 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.1203, allocations: 59.38 kB / 393.7 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1205, allocations: 36.55 kB / 393.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1205, allocations: 0 / 393.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Templates: time 0.01576/0.1362, allocations: 8.405 MB / 402.2 MB, free: 7.77 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.468933820957318]