Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001327/0.001327, allocations: 113.7 kB / 19.17 MB, free: 3.871 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.001471/0.001471, allocations: 205 kB / 22.12 MB, free: 0.9219 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.524/1.524, allocations: 230.5 MB / 255.5 MB, free: 15.09 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [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.002025/0.002025, allocations: 75.83 kB / 374.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1091, allocations: 53.32 MB / 428.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005294/0.1144, allocations: 3.693 MB / 431.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2203/0.3347, allocations: 1.008 MB / 432.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.3351, allocations: 10.03 kB / 432.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.3355, allocations: 108 kB / 433 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.3359, allocations: 202.8 kB / 433.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3362, allocations: 133.8 kB / 433.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007542/0.3369, allocations: 0.6798 MB / 434 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.3372, allocations: 124.3 kB / 434.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.3375, allocations: 265.4 kB / 434.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.3377, allocations: 297.3 kB / 434.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.686e-05/0.3378, allocations: 57.12 kB / 434.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.767e-05/0.3379, allocations: 58.09 kB / 434.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.338, allocations: 134.4 kB / 434.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.3383, allocations: 308.3 kB / 435.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.339, allocations: 0.6977 MB / 435.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.339, allocations: 0.7188 kB / 435.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.339, allocations: 0 / 435.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.339, allocations: 1.688 kB / 435.9 MB, free: 7.559 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001487/0.3405, allocations: 0.9095 MB / 436.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3405, allocations: 9.875 kB / 436.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3406, allocations: 70.08 kB / 436.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.3413, allocations: 436.2 kB / 437.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/0.3414, allocations: 59.03 kB / 437.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.3415, allocations: 32.62 kB / 437.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008426/0.3423, allocations: 489.1 kB / 437.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3423, allocations: 5.109 kB / 437.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.3424, allocations: 15.03 kB / 437.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.3424, allocations: 9.766 kB / 437.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000858/0.3433, allocations: 336.5 kB / 438.3 MB, free: 6.426 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.002053/0.3453, allocations: 1.284 MB / 439.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.346, allocations: 357.7 kB / 439.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.3464, allocations: 164.1 kB / 440 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.3465, allocations: 9.469 kB / 440.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.3465, allocations: 46.62 kB / 440.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.3465, allocations: 0 / 440.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001668/0.3482, allocations: 0.7208 MB / 440.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.3483, allocations: 452.1 kB / 441.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.3488, allocations: 453.4 kB / 441.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.3489, allocations: 38.11 kB / 441.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.349, allocations: 246.5 kB / 442 MB, free: 3.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/0.3491, allocations: 126.7 kB / 442.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.3492, allocations: 75.5 kB / 442.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.3493, allocations: 364.1 kB / 442.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.3497, allocations: 139.1 kB / 442.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.3502, allocations: 282.7 kB / 443 MB, free: 3.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007572/0.3509, allocations: 335.5 kB / 443.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3509, allocations: 0 / 443.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001034/0.352, allocations: 486.6 kB / 443.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.352, allocations: 36.34 kB / 443.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.352, allocations: 0 / 443.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.3522, allocations: 54.22 kB / 443.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.3527, allocations: 84.44 kB / 443.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.3548, allocations: 2.958 MB / 446.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/0.3554, allocations: 48.84 kB / 446.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.3554, allocations: 20.72 kB / 446.9 MB, free: 15.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 (37): * Single equations (assignments): 34 * 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.0002858/0.3557, allocations: 177.9 kB / 447.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3558, allocations: 54.41 kB / 447.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.3559, allocations: 52.92 kB / 447.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3559, allocations: 3.359 kB / 447.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3559, allocations: 1.062 kB / 447.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/0.357, allocations: 0.729 MB / 448 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.359, allocations: 1.013 MB / 449 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.359, allocations: 2.531 kB / 449 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.3595, allocations: 88.45 kB / 449.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3595, allocations: 2.516 kB / 449.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.3595, allocations: 10.69 kB / 449.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3595, allocations: 2.312 kB / 449.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3595, allocations: 0.6562 kB / 449.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.3609, allocations: 0.6467 MB / 449.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.3612, allocations: 168.4 kB / 449.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.3612, allocations: 16.12 kB / 449.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.3616, allocations: 29.95 kB / 449.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.3617, allocations: 28.2 kB / 450 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.3617, allocations: 10.31 kB / 450 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004491/0.3622, allocations: 321.9 kB / 450.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3622, allocations: 0 / 450.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005292/0.3627, allocations: 139.2 kB / 450.4 MB, free: 13.6 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 (35): * Single equations (assignments): 35 * 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.0001567/0.3629, allocations: 120 kB / 450.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.3642, allocations: 0.6216 MB / 451.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3642, allocations: 1.219 kB / 451.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.3647, allocations: 174.7 kB / 451.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.3654, allocations: 142.5 kB / 451.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.3672, allocations: 0.9508 MB / 452.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.3677, allocations: 0.8285 MB / 453.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3679, allocations: 48.02 kB / 453.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3679, allocations: 0 / 453.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Templates: time 0.01484/0.3827, allocations: 8.955 MB / 462.3 MB, free: 8.383 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 8.560991873993771]