Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.455/1.455, allocations: 230.4 MB / 251.1 MB, free: 8.496 MB / 206.1 MB 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.001938/0.001938, allocations: 75.83 kB / 369 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2223, allocations: 53.32 MB / 422.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006277/0.2286, allocations: 5.066 MB / 427.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.231, allocations: 1.336 MB / 428.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.2313, allocations: 11.94 kB / 428.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.2317, allocations: 158.6 kB / 428.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.2323, allocations: 333.2 kB / 429.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.2328, allocations: 231.6 kB / 429.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.2341, allocations: 1.179 MB / 430.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.2344, allocations: 218.1 kB / 430.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005034/0.2349, allocations: 450.4 kB / 431.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/0.2356, allocations: 0.5096 MB / 431.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.2357, allocations: 104 kB / 431.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.2359, allocations: 104 kB / 431.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.2361, allocations: 231.2 kB / 432.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005136/0.2366, allocations: 0.5133 MB / 432.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.2379, allocations: 1.21 MB / 433.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2379, allocations: 4 kB / 433.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2379, allocations: 4 kB / 433.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.2379, allocations: 0 / 433.9 MB, free: 12.14 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002501/0.2404, allocations: 1.37 MB / 435.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2405, allocations: 8.031 kB / 435.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.2407, allocations: 116.3 kB / 435.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.2417, allocations: 0.5877 MB / 436 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.2419, allocations: 146.9 kB / 436.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.242, allocations: 64.12 kB / 436.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.2435, allocations: 0.8392 MB / 437 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.2435, allocations: 4 kB / 437 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/0.2436, allocations: 28 kB / 437 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2436, allocations: 12 kB / 437.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.2449, allocations: 0.6023 MB / 437.7 MB, free: 8.137 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.0033/0.2482, allocations: 2.059 MB / 439.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.2497, allocations: 0.8108 MB / 440.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007991/0.2505, allocations: 355.5 kB / 440.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-05/0.2505, allocations: 16.64 kB / 440.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2506, allocations: 47.22 kB / 440.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.2506, allocations: 0 / 440.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005275/0.2559, allocations: 1.789 MB / 442.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004842/0.2564, allocations: 0.8233 MB / 443.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008222/0.2572, allocations: 0.6371 MB / 444.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.855e-05/0.2573, allocations: 45.7 kB / 444.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.2576, allocations: 333.4 kB / 444.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.2578, allocations: 269.7 kB / 444.8 MB, free: 500 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.258, allocations: 142.6 kB / 445 MB, free: 352 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.2583, allocations: 390.8 kB / 445.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.2589, allocations: 269.8 kB / 445.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009335/0.2599, allocations: 0.5546 MB / 446.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.2613, allocations: 0.6856 MB / 446.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2613, allocations: 4 kB / 446.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002652/0.2639, allocations: 1.087 MB / 447.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/0.264, allocations: 85.09 kB / 448 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.264, allocations: 4 kB / 448 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006917/0.2647, allocations: 239.2 kB / 448.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.2653, allocations: 135.8 kB / 448.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008354/0.2737, allocations: 6.932 MB / 455.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.2745, allocations: 115.4 kB / 455.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.2746, allocations: 20 kB / 455.5 MB, free: 5.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003579/0.2749, allocations: 217.7 kB / 455.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.2751, allocations: 91.48 kB / 455.8 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.2752, allocations: 95.56 kB / 455.8 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2753, allocations: 4 kB / 455.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2753, allocations: 7.984 kB / 455.9 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002552/0.2778, allocations: 1.233 MB / 457.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.2816, allocations: 1.912 MB / 459 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.2817, allocations: 8 kB / 459 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.2824, allocations: 139.8 kB / 459.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/0.2829, allocations: 198.4 kB / 459.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.283, allocations: 16 kB / 459.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006825/0.2898, allocations: 5.35 MB / 464.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2898, allocations: 0 / 464.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/0.2931, allocations: 1.392 MB / 466.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.2935, allocations: 244.4 kB / 466.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.2936, allocations: 16 kB / 466.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/0.2943, allocations: 59.94 kB / 466.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.2945, allocations: 56.58 kB / 466.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.2945, allocations: 19.98 kB / 466.5 MB, free: 9.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005916/0.2951, allocations: 455.1 kB / 466.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2951, allocations: 0 / 466.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008342/0.2959, allocations: 283.7 kB / 467.2 MB, free: 8.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001788/0.2961, allocations: 131.1 kB / 467.3 MB, free: 8.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.2985, allocations: 1.317 MB / 468.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2985, allocations: 0 / 468.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.2999, allocations: 0.7457 MB / 469.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000955/0.3009, allocations: 242.8 kB / 469.6 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.3036, allocations: 1.61 MB / 471.2 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.3042, allocations: 0.9518 MB / 472.2 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000385/0.3046, allocations: 102.4 kB / 472.3 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.3048, allocations: 67.42 kB / 472.4 MB, free: 3.309 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3048, allocations: 0 / 472.4 MB, free: 3.309 MB / 382.1 MB Notification: Performance of Templates: time 0.03073/0.3355, allocations: 18.91 MB / 491.3 MB, free: 0.6758 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches