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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.441/1.441, allocations: 227.7 MB / 247.7 MB, free: 10.37 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.001949/0.001949, allocations: 64.69 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1021, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005171/0.1073, allocations: 3.665 MB / 362.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1091, allocations: 1.024 MB / 363.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.1093, allocations: 4 kB / 363.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.1096, allocations: 107.1 kB / 363.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.11, allocations: 198.3 kB / 363.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1103, allocations: 127.8 kB / 363.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.111, allocations: 0.6881 MB / 364.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.1113, allocations: 186.2 kB / 364.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.1116, allocations: 255.1 kB / 364.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.112, allocations: 298.7 kB / 365 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.292e-05/0.1121, allocations: 59.94 kB / 365 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1122, allocations: 56 kB / 365.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1123, allocations: 127.6 kB / 365.2 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.1126, allocations: 314.5 kB / 365.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.1133, allocations: 0.6737 MB / 366.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.1133, allocations: 4 kB / 366.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1134, allocations: 0 / 366.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1134, allocations: 0 / 366.2 MB, free: 6.172 MB / 302.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.001549/0.1149, allocations: 0.8972 MB / 367.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.115, allocations: 8.031 kB / 367.1 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1151, allocations: 68.19 kB / 367.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.1158, allocations: 430.5 kB / 367.6 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.116, allocations: 86.81 kB / 367.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.1161, allocations: 28.38 kB / 367.7 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.117, allocations: 0.4931 MB / 368.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.117, allocations: 4 kB / 368.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.1171, allocations: 16 kB / 368.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.1171, allocations: 8 kB / 368.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/0.118, allocations: 362.4 kB / 368.6 MB, free: 3.641 MB / 302.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.002036/0.1201, allocations: 1.294 MB / 369.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.1208, allocations: 393.5 kB / 370.2 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.1213, allocations: 197.6 kB / 370.4 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.1214, allocations: 7.984 kB / 370.4 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1214, allocations: 38.56 kB / 370.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.1214, allocations: 0 / 370.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001776/0.1232, allocations: 0.7587 MB / 371.2 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002505/0.1235, allocations: 452.9 kB / 371.7 MB, free: 244 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1571/0.2806, allocations: 446.6 kB / 372.1 MB, free: 20.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.2808, allocations: 36.23 kB / 372.1 MB, free: 20.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.2809, allocations: 237.9 kB / 372.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.281, allocations: 126.5 kB / 372.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.2812, allocations: 75.64 kB / 372.6 MB, free: 20.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.2813, allocations: 361.1 kB / 372.9 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.2817, allocations: 155.1 kB / 373.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.2822, allocations: 297.3 kB / 373.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008304/0.2831, allocations: 358.6 kB / 373.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2831, allocations: 0 / 373.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001093/0.2842, allocations: 0.5072 MB / 374.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.2842, allocations: 32.2 kB / 374.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2842, allocations: 4.953 kB / 374.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.2844, allocations: 54.19 kB / 374.3 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.2849, allocations: 90.33 kB / 374.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.2867, allocations: 2.972 MB / 377.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.2872, allocations: 58.33 kB / 377.4 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.2873, allocations: 10.72 kB / 377.4 MB, free: 16.51 MB / 302.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.0001762/0.2874, allocations: 172.3 kB / 377.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2876, allocations: 50.5 kB / 377.7 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.46e-05/0.2877, allocations: 59.88 kB / 377.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2877, allocations: 4.719 kB / 377.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2877, allocations: 0 / 377.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009479/0.2886, allocations: 0.747 MB / 378.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.2902, allocations: 1.04 MB / 379.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2902, allocations: 5.875 kB / 379.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.2907, allocations: 93.86 kB / 379.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2907, allocations: 2.938 kB / 379.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.2907, allocations: 7.047 kB / 379.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2907, allocations: 1.688 kB / 379.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2907, allocations: 0 / 379.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.2921, allocations: 0.695 MB / 380.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.2922, allocations: 170.6 kB / 380.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.2923, allocations: 7.625 kB / 380.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.2927, allocations: 35.59 kB / 380.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.2928, allocations: 28.48 kB / 380.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2928, allocations: 9.375 kB / 380.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003215/0.2931, allocations: 325 kB / 380.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2931, allocations: 1.25 kB / 380.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004259/0.2936, allocations: 138.7 kB / 381 MB, free: 14.36 MB / 302.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.0001102/0.2937, allocations: 108.3 kB / 381.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.2949, allocations: 0.6772 MB / 381.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2949, allocations: 3.969 kB / 381.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.2954, allocations: 193.9 kB / 382 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.296, allocations: 148.3 kB / 382.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2975, allocations: 0.963 MB / 383.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.2978, allocations: 0.8305 MB / 383.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2979, allocations: 41.81 kB / 384 MB, free: 12.46 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2979, allocations: 0 / 384 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Templates: time 0.0116/0.3095, allocations: 8.891 MB / 392.9 MB, free: 9.289 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (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) 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) Reference file matches