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.001414/0.001414, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001491/0.001491, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.47/1.47, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.002056/0.002056, allocations: 59.91 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2327, allocations: 53.41 MB / 432.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004871/0.2376, allocations: 3.535 MB / 436 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2394, allocations: 0.9967 MB / 437 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.2396, allocations: 7.938 kB / 437 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.24, allocations: 103.1 kB / 437.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004058/0.2404, allocations: 190.4 kB / 437.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2406, allocations: 123.8 kB / 437.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007351/0.2414, allocations: 0.6453 MB / 438 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.2416, allocations: 131.5 kB / 438.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.2419, allocations: 247.2 kB / 438.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.2422, allocations: 274.8 kB / 438.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.051e-05/0.2423, allocations: 52 kB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.2424, allocations: 56 kB / 438.8 MB, free: 424 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2425, allocations: 119.6 kB / 438.9 MB, free: 304 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.2428, allocations: 298.6 kB / 439.2 MB, free: 4 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007225/0.2435, allocations: 0.6445 MB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2435, allocations: 0 / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2435, allocations: 0 / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2435, allocations: 0 / 439.8 MB, free: 15.36 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.001425/0.245, allocations: 0.7749 MB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.245, allocations: 12.03 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.2451, allocations: 64.56 kB / 440.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.2457, allocations: 349.1 kB / 441 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.2459, allocations: 106.3 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.2459, allocations: 40.31 kB / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.2467, allocations: 453.1 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2467, allocations: 0 / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.2467, allocations: 20 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2467, allocations: 8 kB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.2473, allocations: 282.4 kB / 441.9 MB, free: 13.14 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.002147/0.2495, allocations: 1.26 MB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.2506, allocations: 340.8 kB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.2508, allocations: 128.8 kB / 443.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.2509, allocations: 7.984 kB / 443.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.2509, allocations: 38.56 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.983e-06/0.2509, allocations: 0 / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001179/0.2521, allocations: 463.6 kB / 444.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002829/0.2524, allocations: 445 kB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006155/0.253, allocations: 457.8 kB / 445 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.2531, allocations: 37.7 kB / 445 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.2533, allocations: 232.6 kB / 445.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.2534, allocations: 119 kB / 445.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.2535, allocations: 73.98 kB / 445.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2537, allocations: 358.8 kB / 445.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.2539, allocations: 104.6 kB / 445.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.2543, allocations: 260 kB / 446.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.2548, allocations: 273.3 kB / 446.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2548, allocations: 0 / 446.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007477/0.2555, allocations: 420.5 kB / 446.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.2556, allocations: 33.73 kB / 446.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2556, allocations: 0 / 446.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.2558, allocations: 53.69 kB / 446.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.2561, allocations: 63.91 kB / 447 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.2588, allocations: 2.762 MB / 449.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.2592, allocations: 51.75 kB / 449.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.2592, allocations: 8 kB / 449.8 MB, free: 4.656 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.0002424/0.2595, allocations: 170 kB / 450 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2596, allocations: 55.67 kB / 450 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.2597, allocations: 52.69 kB / 450.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2597, allocations: 4 kB / 450.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2597, allocations: 3.938 kB / 450.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007532/0.2605, allocations: 0.6414 MB / 450.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.262, allocations: 0.8795 MB / 451.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.262, allocations: 3.938 kB / 451.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.2623, allocations: 71.84 kB / 451.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.2623, allocations: 3.984 kB / 451.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.2624, allocations: 11.98 kB / 451.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2624, allocations: 0 / 451.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2624, allocations: 0 / 451.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008938/0.2633, allocations: 0.5212 MB / 452.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.2635, allocations: 87.56 kB / 452.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.2635, allocations: 8 kB / 452.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.2639, allocations: 15.98 kB / 452.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.2639, allocations: 19.97 kB / 452.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.2639, allocations: 15.98 kB / 452.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000407/0.2644, allocations: 319.2 kB / 452.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2644, allocations: 0 / 452.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004894/0.2648, allocations: 131.9 kB / 452.8 MB, free: 1.477 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.0001379/0.265, allocations: 103.2 kB / 452.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.266, allocations: 0.5474 MB / 453.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.266, allocations: 8 kB / 453.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.2663, allocations: 119.8 kB / 453.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.2669, allocations: 137.7 kB / 453.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.2687, allocations: 0.9157 MB / 454.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.2692, allocations: 0.8159 MB / 455.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.2693, allocations: 43.42 kB / 455.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2693, allocations: 4 kB / 455.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01364/0.283, allocations: 8.306 MB / 463.8 MB, free: 6.438 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/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_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.858652051072568]