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.001792/0.001792, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002198/0.002198, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001977/0.001977, allocations: 72.73 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.257, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004856/0.2618, allocations: 3.716 MB / 436.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.2634, allocations: 1.012 MB / 437.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.2635, allocations: 7.938 kB / 437.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.2638, allocations: 111.1 kB / 437.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.2642, allocations: 202.2 kB / 437.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2645, allocations: 143.7 kB / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.2653, allocations: 0.6809 MB / 438.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.2655, allocations: 126.9 kB / 438.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.2658, allocations: 267 kB / 438.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.2662, allocations: 298.8 kB / 438.9 MB, free: 416 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.25e-05/0.2662, allocations: 56 kB / 439 MB, free: 360 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.2663, allocations: 60 kB / 439.1 MB, free: 300 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2664, allocations: 123.5 kB / 439.2 MB, free: 176 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.2668, allocations: 310.6 kB / 439.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.2675, allocations: 0.7 MB / 440.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2675, allocations: 0 / 440.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2675, allocations: 0 / 440.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.2675, allocations: 0 / 440.2 MB, free: 15.17 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.00155/0.269, allocations: 0.8333 MB / 441 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2691, allocations: 8.031 kB / 441 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2692, allocations: 72.52 kB / 441.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007118/0.2699, allocations: 373.1 kB / 441.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.27, allocations: 62.92 kB / 441.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.2701, allocations: 32.38 kB / 441.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008593/0.2709, allocations: 493 kB / 442 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.271, allocations: 7.953 kB / 442 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.271, allocations: 16 kB / 442.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.271, allocations: 8 kB / 442.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.2718, allocations: 334.4 kB / 442.4 MB, free: 12.84 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.002033/0.2739, allocations: 1.233 MB / 443.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.2745, allocations: 286.3 kB / 443.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.2749, allocations: 160.8 kB / 444.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.275, allocations: 11.97 kB / 444.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.275, allocations: 38.56 kB / 444.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 4.83e-06/0.275, allocations: 3.984 kB / 444.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001542/0.2766, allocations: 0.5756 MB / 444.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002377/0.2768, allocations: 445 kB / 445.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.2773, allocations: 454 kB / 445.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.2774, allocations: 33.7 kB / 445.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.2776, allocations: 252.6 kB / 445.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2777, allocations: 126.9 kB / 446 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.2778, allocations: 77.47 kB / 446 MB, free: 8.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.278, allocations: 362.7 kB / 446.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.2784, allocations: 139.9 kB / 446.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.2789, allocations: 278.8 kB / 446.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/0.2797, allocations: 345.1 kB / 447.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2797, allocations: 3.984 kB / 447.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001017/0.2807, allocations: 490 kB / 447.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.2807, allocations: 29.7 kB / 447.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2807, allocations: 0 / 447.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.2809, allocations: 49.7 kB / 447.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.2813, allocations: 83.91 kB / 447.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.2839, allocations: 2.766 MB / 450.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.2843, allocations: 63.78 kB / 450.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.2843, allocations: 15.94 kB / 450.6 MB, free: 4.008 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.0002088/0.2845, allocations: 165.8 kB / 450.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.2846, allocations: 55.67 kB / 450.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/0.2847, allocations: 52.75 kB / 450.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2847, allocations: 8 kB / 450.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2847, allocations: 0 / 450.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009905/0.2857, allocations: 0.7231 MB / 451.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.2873, allocations: 0.9807 MB / 452.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2873, allocations: 0 / 452.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.2878, allocations: 87.88 kB / 452.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.2878, allocations: 4 kB / 452.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.2878, allocations: 7.938 kB / 452.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2878, allocations: 4 kB / 452.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2878, allocations: 4.078 kB / 452.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.2891, allocations: 0.6528 MB / 453.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.2893, allocations: 95.52 kB / 453.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.2894, allocations: 19.92 kB / 453.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.2897, allocations: 27.97 kB / 453.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.2898, allocations: 23.95 kB / 453.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.2898, allocations: 8 kB / 453.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003754/0.2902, allocations: 319.1 kB / 453.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2902, allocations: 0 / 453.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.2906, allocations: 143.9 kB / 454 MB, free: 476 kB / 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.0001215/0.2907, allocations: 115.2 kB / 454.1 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.2919, allocations: 0.6097 MB / 454.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2919, allocations: 0 / 454.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.2923, allocations: 167.8 kB / 454.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.293, allocations: 149.9 kB / 455 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2946, allocations: 0.95 MB / 456 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.2951, allocations: 0.8275 MB / 456.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.2953, allocations: 64.34 kB / 456.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2954, allocations: 47.42 kB / 456.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2954, allocations: 3.938 kB / 456.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of Templates: time 0.01668/0.3121, allocations: 9.203 MB / 466.1 MB, free: 4.387 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/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: 4.7148898197337985]