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.005503/0.005503, allocations: 107.2 kB / 21.98 MB, free: 5.223 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.001632/0.001632, allocations: 211.9 kB / 25.29 MB, free: 3.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.483/1.483, allocations: 230.6 MB / 259 MB, free: 8.285 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.002018/0.002018, allocations: 64.75 kB / 379.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2704, allocations: 53.37 MB / 433.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005382/0.2758, allocations: 3.7 MB / 436.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.2778, allocations: 1.024 MB / 437.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.278, allocations: 7.938 kB / 437.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.2784, allocations: 103.1 kB / 438 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.2788, allocations: 214.3 kB / 438.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.2791, allocations: 131.8 kB / 438.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008391/0.28, allocations: 0.6885 MB / 439 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.2802, allocations: 126.9 kB / 439.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.2806, allocations: 263.1 kB / 439.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.2809, allocations: 298.7 kB / 439.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.281, allocations: 60 kB / 439.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2811, allocations: 56 kB / 439.8 MB, free: 496 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.2813, allocations: 127.5 kB / 439.9 MB, free: 368 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.2816, allocations: 310.6 kB / 440.2 MB, free: 56 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008446/0.2824, allocations: 0.6978 MB / 440.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.2824, allocations: 4 kB / 440.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2824, allocations: 0 / 440.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2824, allocations: 4 kB / 440.9 MB, free: 15.35 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.001697/0.2841, allocations: 0.8294 MB / 441.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2842, allocations: 12.03 kB / 441.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.2843, allocations: 68.52 kB / 441.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.2852, allocations: 373.1 kB / 442.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.2853, allocations: 50.92 kB / 442.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.2854, allocations: 36.38 kB / 442.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009218/0.2863, allocations: 489 kB / 442.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2863, allocations: 7.938 kB / 442.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.2863, allocations: 12 kB / 442.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.2863, allocations: 11.98 kB / 442.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008604/0.2872, allocations: 342.4 kB / 443.1 MB, free: 13.02 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.002139/0.2893, allocations: 1.233 MB / 444.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.29, allocations: 279.1 kB / 444.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.2904, allocations: 172.7 kB / 444.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.2905, allocations: 11.97 kB / 444.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.2905, allocations: 42.56 kB / 444.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.2905, allocations: 0 / 444.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001639/0.2922, allocations: 0.5718 MB / 445.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002529/0.2924, allocations: 441 kB / 445.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.293, allocations: 461.9 kB / 446.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.2931, allocations: 33.7 kB / 446.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.2933, allocations: 244.6 kB / 446.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2934, allocations: 122.9 kB / 446.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.2936, allocations: 81.47 kB / 446.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.2937, allocations: 366.7 kB / 447.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.2941, allocations: 135.9 kB / 447.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.2947, allocations: 282.8 kB / 447.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/0.2955, allocations: 341.2 kB / 447.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2955, allocations: 0 / 447.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001066/0.2965, allocations: 490 kB / 448.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.2966, allocations: 41.62 kB / 448.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2966, allocations: 0 / 448.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.2968, allocations: 45.7 kB / 448.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.2972, allocations: 83.88 kB / 448.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/0.3, allocations: 2.77 MB / 451.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.3005, allocations: 59.78 kB / 451.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.3005, allocations: 11.94 kB / 451.4 MB, free: 4.199 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 (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.000265/0.3008, allocations: 169.8 kB / 451.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3009, allocations: 55.67 kB / 451.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.301, allocations: 56.75 kB / 451.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.301, allocations: 4 kB / 451.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.301, allocations: 3.938 kB / 451.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.3021, allocations: 0.7273 MB / 452.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.3038, allocations: 0.9807 MB / 453.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3038, allocations: 4 kB / 453.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.3043, allocations: 87.88 kB / 453.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3043, allocations: 3.938 kB / 453.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.3043, allocations: 11.94 kB / 453.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3043, allocations: 0 / 453.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3043, allocations: 0 / 453.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.3057, allocations: 0.6489 MB / 454.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.3059, allocations: 99.52 kB / 454.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.306, allocations: 15.92 kB / 454.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.3063, allocations: 28.05 kB / 454.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.3064, allocations: 27.94 kB / 454.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3064, allocations: 8 kB / 454.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004296/0.3068, allocations: 327.1 kB / 454.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3068, allocations: 0 / 454.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004875/0.3073, allocations: 139.8 kB / 454.8 MB, free: 0.6406 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 (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.0001482/0.3075, allocations: 107.2 kB / 454.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.3088, allocations: 0.6136 MB / 455.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.3088, allocations: 4 kB / 455.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.3092, allocations: 167.8 kB / 455.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.31, allocations: 144.4 kB / 455.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.3118, allocations: 0.9722 MB / 456.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.3124, allocations: 0.8275 MB / 457.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.3125, allocations: 43.44 kB / 457.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3125, allocations: 3.938 kB / 457.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01406/0.3266, allocations: 8.959 MB / 466.6 MB, free: 4.766 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.143162814900279]