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.001612/0.001612, allocations: 124.5 kB / 18.46 MB, free: 4.449 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.001726/0.001726, allocations: 190.6 kB / 21.4 MB, free: 1.52 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.52/1.52, allocations: 225.6 MB / 249.8 MB, free: 3.602 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: 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.001512/0.001512, allocations: 47.92 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09409, allocations: 52.14 MB / 418.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004843/0.09893, allocations: 3.522 MB / 422.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1007, allocations: 0.9461 MB / 423.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.1009, allocations: 4 kB / 423.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1012, allocations: 115.1 kB / 423.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.1016, allocations: 194.4 kB / 423.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1019, allocations: 115.8 kB / 423.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.1026, allocations: 0.6368 MB / 424.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.1028, allocations: 134.8 kB / 424.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.1031, allocations: 243.1 kB / 424.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.1035, allocations: 274.8 kB / 425.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.814e-05/0.1036, allocations: 56 kB / 425.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1037, allocations: 52 kB / 425.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1038, allocations: 115.6 kB / 425.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.1041, allocations: 294.6 kB / 425.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007222/0.1048, allocations: 0.6497 MB / 426.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1048, allocations: 0 / 426.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1048, allocations: 0 / 426.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1048, allocations: 0 / 426.3 MB, free: 4.73 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.001454/0.1063, allocations: 0.8542 MB / 427.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1063, allocations: 12.03 kB / 427.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.1064, allocations: 60.61 kB / 427.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.107, allocations: 406.9 kB / 427.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.1072, allocations: 54.92 kB / 427.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.1072, allocations: 36.38 kB / 427.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.108, allocations: 465 kB / 428.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.108, allocations: 0 / 428.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.1081, allocations: 19.98 kB / 428.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1081, allocations: 8 kB / 428.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.1087, allocations: 282.5 kB / 428.4 MB, free: 2.41 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.002167/0.1108, allocations: 1.291 MB / 429.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1121, allocations: 421.4 kB / 430.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.1123, allocations: 129.3 kB / 430.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.1124, allocations: 15.98 kB / 430.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1124, allocations: 38.56 kB / 430.3 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.913e-06/0.1124, allocations: 0 / 430.3 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001287/0.1137, allocations: 0.5987 MB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002545/0.114, allocations: 449 kB / 431.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.1145, allocations: 461.8 kB / 431.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.1146, allocations: 33.7 kB / 431.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.1148, allocations: 232.7 kB / 432.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1149, allocations: 118.9 kB / 432.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.115, allocations: 74.03 kB / 432.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1152, allocations: 358.8 kB / 432.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.1155, allocations: 104.6 kB / 432.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.1159, allocations: 248.1 kB / 432.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.1164, allocations: 293.1 kB / 433.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1164, allocations: 0 / 433.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008111/0.1172, allocations: 416.6 kB / 433.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.1173, allocations: 33.7 kB / 433.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1173, allocations: 0 / 433.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.1175, allocations: 53.72 kB / 433.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.1178, allocations: 67.91 kB / 433.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.1207, allocations: 2.965 MB / 436.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.1211, allocations: 51.64 kB / 436.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.1211, allocations: 15.94 kB / 436.8 MB, free: 9.32 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.0002309/0.1213, allocations: 157.8 kB / 437 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1214, allocations: 59.67 kB / 437 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.1215, allocations: 52.62 kB / 437.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1215, allocations: 4 kB / 437.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1215, allocations: 3.938 kB / 437.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007729/0.1223, allocations: 0.6454 MB / 437.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.1237, allocations: 0.8932 MB / 438.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1237, allocations: 7.938 kB / 438.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.1241, allocations: 71.89 kB / 438.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1241, allocations: 4 kB / 438.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1241, allocations: 4 kB / 438.7 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1241, allocations: 4 kB / 438.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1241, allocations: 0 / 438.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009152/0.125, allocations: 0.5164 MB / 439.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.1253, allocations: 168.6 kB / 439.4 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.1253, allocations: 8 kB / 439.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.1256, allocations: 16 kB / 439.4 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.1257, allocations: 15.97 kB / 439.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.1257, allocations: 12 kB / 439.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003982/0.1261, allocations: 319.1 kB / 439.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1261, allocations: 3.938 kB / 439.8 MB, free: 6.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004614/0.1266, allocations: 136 kB / 439.9 MB, free: 6.035 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.000145/0.1267, allocations: 107.2 kB / 440 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.1277, allocations: 0.5473 MB / 440.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1277, allocations: 7.938 kB / 440.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.128, allocations: 116.5 kB / 440.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.1286, allocations: 137.8 kB / 440.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1303, allocations: 0.92 MB / 441.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.1308, allocations: 0.8198 MB / 442.5 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.1309, allocations: 43.42 kB / 442.6 MB, free: 3.227 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1309, allocations: 0 / 442.6 MB, free: 3.227 MB / 366.1 MB Notification: Performance of Templates: time 0.1817/0.3126, allocations: 8.309 MB / 450.9 MB, free: 28.58 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 -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_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: 8.250353852054104]