Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00195/0.00195, allocations: 119.5 kB / 21.17 MB, free: 0.75 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.001963/0.001963, allocations: 215.8 kB / 24.47 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 230.4 MB / 258.1 MB, free: 8.117 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2373, allocations: 53.3 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004691/0.242, allocations: 3.554 MB / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.2436, allocations: 0.9852 MB / 436.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.2438, allocations: 12 kB / 436.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.2441, allocations: 103.1 kB / 436.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.2444, allocations: 190.4 kB / 436.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.2447, allocations: 119.8 kB / 437 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007052/0.2454, allocations: 0.6419 MB / 437.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.2456, allocations: 134.7 kB / 437.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.2459, allocations: 243.1 kB / 438 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.2462, allocations: 270.9 kB / 438.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.713e-05/0.2463, allocations: 52 kB / 438.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.2464, allocations: 56 kB / 438.4 MB, free: 1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2465, allocations: 115.6 kB / 438.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.2468, allocations: 298.6 kB / 438.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.2475, allocations: 0.6398 MB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2475, allocations: 4 kB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2475, allocations: 0 / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.2475, allocations: 0 / 439.4 MB, free: 15.95 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.001397/0.2489, allocations: 0.8658 MB / 440.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2489, allocations: 8.031 kB / 440.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.249, allocations: 68.56 kB / 440.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.2496, allocations: 395 kB / 440.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2498, allocations: 62.84 kB / 440.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.2498, allocations: 28.38 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.2505, allocations: 457.1 kB / 441.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2505, allocations: 0 / 441.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.2506, allocations: 16 kB / 441.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.2506, allocations: 8 kB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.2511, allocations: 282.4 kB / 441.6 MB, free: 13.64 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.002069/0.2532, allocations: 1.302 MB / 442.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.2544, allocations: 412.5 kB / 443.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.2546, allocations: 124.8 kB / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2547, allocations: 11.98 kB / 443.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.2547, allocations: 38.56 kB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.2547, allocations: 0 / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00117/0.2559, allocations: 0.607 MB / 444.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/0.2561, allocations: 445 kB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.2566, allocations: 449.9 kB / 444.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.2566, allocations: 37.7 kB / 445 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.2568, allocations: 236.7 kB / 445.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/0.2569, allocations: 119 kB / 445.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.2571, allocations: 77.97 kB / 445.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2572, allocations: 350.8 kB / 445.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.2575, allocations: 108.6 kB / 445.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.2578, allocations: 256.1 kB / 446.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.2583, allocations: 277.2 kB / 446.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2583, allocations: 0 / 446.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007271/0.2591, allocations: 412.6 kB / 446.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.2591, allocations: 33.7 kB / 446.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2591, allocations: 0 / 446.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.2593, allocations: 53.69 kB / 446.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.2596, allocations: 67.89 kB / 446.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.2622, allocations: 2.969 MB / 449.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.2626, allocations: 47.81 kB / 449.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.2626, allocations: 8 kB / 449.9 MB, free: 4.562 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.0002138/0.2628, allocations: 174 kB / 450.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.2629, allocations: 51.67 kB / 450.2 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.771e-05/0.263, allocations: 52.78 kB / 450.2 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.263, allocations: 7.938 kB / 450.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.263, allocations: 3.938 kB / 450.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00071/0.2637, allocations: 0.6531 MB / 450.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.265, allocations: 0.8971 MB / 451.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.265, allocations: 3.938 kB / 451.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.2654, allocations: 67.89 kB / 451.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2654, allocations: 0 / 451.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2654, allocations: 8 kB / 451.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2654, allocations: 4 kB / 451.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2654, allocations: 0 / 451.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/0.2662, allocations: 0.5252 MB / 452.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.2664, allocations: 168.7 kB / 452.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.2665, allocations: 12 kB / 452.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.2668, allocations: 20.05 kB / 452.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.2669, allocations: 19.97 kB / 452.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2669, allocations: 4 kB / 452.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003599/0.2672, allocations: 323.1 kB / 452.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2672, allocations: 0 / 452.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004286/0.2677, allocations: 131.9 kB / 453 MB, free: 1.254 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.0001226/0.2678, allocations: 107.5 kB / 453.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009348/0.2687, allocations: 0.5512 MB / 453.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2687, allocations: 0 / 453.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.269, allocations: 123.8 kB / 453.8 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.2696, allocations: 133.1 kB / 453.9 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.2711, allocations: 0.918 MB / 454.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.2716, allocations: 0.8198 MB / 455.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2717, allocations: 39.44 kB / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2717, allocations: 3.938 kB / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Templates: time 0.01149/0.2832, allocations: 8.315 MB / 464 MB, free: 6.203 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.513115501962602]