Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.38/1.38, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 47.92 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2215, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004718/0.2262, allocations: 3.547 MB / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2278, allocations: 0.989 MB / 436.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.228, allocations: 4 kB / 436.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.2283, allocations: 115 kB / 437 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.2286, allocations: 190.4 kB / 437.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2289, allocations: 119.8 kB / 437.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.2296, allocations: 0.638 MB / 438 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.2299, allocations: 131.5 kB / 438.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.2301, allocations: 251.1 kB / 438.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.2305, allocations: 274.9 kB / 438.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.621e-05/0.2305, allocations: 52 kB / 438.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.2306, allocations: 56 kB / 438.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2307, allocations: 115.5 kB / 438.8 MB, free: 448 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.231, allocations: 294.6 kB / 439.1 MB, free: 152 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.2317, allocations: 0.6443 MB / 439.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2317, allocations: 0 / 439.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2317, allocations: 3.938 kB / 439.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.2317, allocations: 4 kB / 439.8 MB, free: 15.5 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.001361/0.2331, allocations: 0.7827 MB / 440.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2331, allocations: 8.031 kB / 440.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2332, allocations: 68.56 kB / 440.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.2338, allocations: 337.2 kB / 441 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.2339, allocations: 110.3 kB / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.234, allocations: 32.38 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.2347, allocations: 460.6 kB / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2347, allocations: 0 / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.2348, allocations: 23.94 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.2348, allocations: 11.98 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005792/0.2353, allocations: 274.5 kB / 441.9 MB, free: 13.29 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.002132/0.2375, allocations: 1.256 MB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2386, allocations: 340.3 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.2388, allocations: 124.8 kB / 443.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.2389, allocations: 7.984 kB / 443.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2389, allocations: 38.56 kB / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.2389, allocations: 0 / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001057/0.24, allocations: 464.2 kB / 444.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002412/0.2402, allocations: 444.9 kB / 444.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.2407, allocations: 453.9 kB / 444.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.2408, allocations: 37.69 kB / 445 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.2409, allocations: 232.6 kB / 445.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.241, allocations: 119 kB / 445.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.2412, allocations: 77.97 kB / 445.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2413, allocations: 358.8 kB / 445.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.2416, allocations: 108.6 kB / 445.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.242, allocations: 256 kB / 446.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.2424, allocations: 269.3 kB / 446.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2424, allocations: 0 / 446.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007147/0.2432, allocations: 420.6 kB / 446.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.2432, allocations: 33.7 kB / 446.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2432, allocations: 0 / 446.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.2434, allocations: 57.62 kB / 446.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.2437, allocations: 59.95 kB / 446.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/0.2463, allocations: 2.77 MB / 449.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.2466, allocations: 43.75 kB / 449.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.2467, allocations: 12 kB / 449.7 MB, free: 4.805 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.0002119/0.2469, allocations: 174.8 kB / 449.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.247, allocations: 59.55 kB / 450 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.875e-05/0.2471, allocations: 48.7 kB / 450 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2471, allocations: 4 kB / 450 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2471, allocations: 3.938 kB / 450 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000722/0.2478, allocations: 0.6531 MB / 450.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.2491, allocations: 0.8676 MB / 451.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2491, allocations: 7.875 kB / 451.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.2495, allocations: 67.95 kB / 451.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.2495, allocations: 4 kB / 451.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.2495, allocations: 4 kB / 451.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.2495, allocations: 4 kB / 451.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2495, allocations: 0 / 451.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.2504, allocations: 0.5254 MB / 452.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.2505, allocations: 83.55 kB / 452.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.2506, allocations: 8 kB / 452.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.2509, allocations: 23.98 kB / 452.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.2509, allocations: 19.95 kB / 452.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.251, allocations: 8 kB / 452.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003641/0.2513, allocations: 323.2 kB / 452.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2513, allocations: 0 / 452.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004295/0.2518, allocations: 131.9 kB / 452.7 MB, free: 1.625 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.0001298/0.2519, allocations: 107.4 kB / 452.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009223/0.2528, allocations: 0.5552 MB / 453.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2528, allocations: 0 / 453.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.253, allocations: 115.8 kB / 453.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.2537, allocations: 136.9 kB / 453.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.2553, allocations: 0.9225 MB / 454.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.2557, allocations: 0.8198 MB / 455.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2558, allocations: 39.44 kB / 455.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2558, allocations: 0 / 455.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Templates: time 0.01198/0.2678, allocations: 8.327 MB / 463.8 MB, free: 6.566 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.456269740127027]