Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.91 kB / 374.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.08991, allocations: 53.32 MB / 427.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004703/0.09461, allocations: 3.518 MB / 431.3 MB, free: 1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.09626, allocations: 0.9852 MB / 432.3 MB, free: 8 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.09642, allocations: 4 kB / 432.3 MB, free: 4 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.09674, allocations: 103.2 kB / 432.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.09712, allocations: 198.4 kB / 432.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.09739, allocations: 123.6 kB / 432.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007243/0.09811, allocations: 0.6341 MB / 433.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.09835, allocations: 142.8 kB / 433.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.09861, allocations: 239.1 kB / 433.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.09897, allocations: 278.8 kB / 434 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.811e-05/0.09906, allocations: 52 kB / 434.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.09916, allocations: 52 kB / 434.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.09927, allocations: 115.6 kB / 434.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.09955, allocations: 298.6 kB / 434.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.1002, allocations: 0.6497 MB / 435.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1002, allocations: 0 / 435.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1002, allocations: 0 / 435.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1003, allocations: 4 kB / 435.2 MB, free: 13.12 MB / 366.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.00144/0.1017, allocations: 0.8503 MB / 436 MB, free: 12.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1017, allocations: 8.031 kB / 436 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1019, allocations: 68.55 kB / 436.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.1025, allocations: 398.9 kB / 436.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.1026, allocations: 58.92 kB / 436.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.1026, allocations: 32.38 kB / 436.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.1034, allocations: 462.7 kB / 437 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1034, allocations: 0 / 437 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.1034, allocations: 15.98 kB / 437.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1034, allocations: 8 kB / 437.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.104, allocations: 282.4 kB / 437.3 MB, free: 10.82 MB / 366.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.002133/0.1062, allocations: 1.287 MB / 438.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.1074, allocations: 412.5 kB / 439 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.1077, allocations: 131.3 kB / 439.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.1077, allocations: 7.984 kB / 439.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1077, allocations: 42.56 kB / 439.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.386e-06/0.1077, allocations: 3.984 kB / 439.2 MB, free: 8.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001247/0.109, allocations: 0.6065 MB / 439.8 MB, free: 8.164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/0.1092, allocations: 441 kB / 440.3 MB, free: 7.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.1097, allocations: 457.9 kB / 440.7 MB, free: 7.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.1098, allocations: 37.7 kB / 440.7 MB, free: 7.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.11, allocations: 232.6 kB / 441 MB, free: 6.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1101, allocations: 123 kB / 441.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.1102, allocations: 73.98 kB / 441.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1104, allocations: 358.7 kB / 441.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.1106, allocations: 108.6 kB / 441.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.111, allocations: 250.5 kB / 441.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.1116, allocations: 281.2 kB / 442.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1116, allocations: 0 / 442.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007795/0.1123, allocations: 416.7 kB / 442.5 MB, free: 5.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.1124, allocations: 37.64 kB / 442.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1124, allocations: 0 / 442.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.1126, allocations: 49.69 kB / 442.6 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.1129, allocations: 67.94 kB / 442.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.1157, allocations: 2.973 MB / 445.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.116, allocations: 47.75 kB / 445.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.1161, allocations: 8 kB / 445.7 MB, free: 1.75 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.0002231/0.1163, allocations: 165.8 kB / 445.9 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.1164, allocations: 55.67 kB / 445.9 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1165, allocations: 52.69 kB / 446 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1165, allocations: 8 kB / 446 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1165, allocations: 3.938 kB / 446 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007573/0.1173, allocations: 0.6386 MB / 446.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1749/0.2921, allocations: 0.8971 MB / 447.5 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2921, allocations: 5.219 kB / 447.5 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.2925, allocations: 65.97 kB / 447.6 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.2925, allocations: 1.984 kB / 447.6 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.2925, allocations: 6.25 kB / 447.6 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2925, allocations: 2.531 kB / 447.6 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2925, allocations: 3.656 kB / 447.6 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.2934, allocations: 0.5187 MB / 448.1 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.2936, allocations: 165.6 kB / 448.3 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.2937, allocations: 13.58 kB / 448.3 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.294, allocations: 16.19 kB / 448.3 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.294, allocations: 18.88 kB / 448.3 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2941, allocations: 5.062 kB / 448.3 MB, free: 24.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003281/0.2944, allocations: 323.3 kB / 448.7 MB, free: 24.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2944, allocations: 0 / 448.7 MB, free: 24.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.2948, allocations: 134.3 kB / 448.8 MB, free: 24.43 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 9.485e-05/0.2949, allocations: 113 kB / 448.9 MB, free: 24.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007811/0.2957, allocations: 0.5537 MB / 449.5 MB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2957, allocations: 1.938 kB / 449.5 MB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.2959, allocations: 120.3 kB / 449.6 MB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.2965, allocations: 135.7 kB / 449.7 MB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2979, allocations: 0.9194 MB / 450.6 MB, free: 23.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.2981, allocations: 0.8133 MB / 451.4 MB, free: 22.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2983, allocations: 45.06 kB / 451.5 MB, free: 22.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2983, allocations: 4 kB / 451.5 MB, free: 22.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01271/0.311, allocations: 8.313 MB / 459.8 MB, free: 21.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.8748899209313095]