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.00166/0.00166, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 208 kB / 19.41 MB, free: 3.648 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.456/1.456, allocations: 227.6 MB / 247.9 MB, free: 10.22 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.001894/0.001894, allocations: 63.89 kB / 359.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2501, allocations: 50.53 MB / 410.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004787/0.2549, allocations: 3.7 MB / 413.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2566, allocations: 1.009 MB / 414.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.2567, allocations: 4 kB / 414.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.257, allocations: 111.1 kB / 415 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.2574, allocations: 202.3 kB / 415.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.2577, allocations: 135.8 kB / 415.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.2584, allocations: 0.6802 MB / 416 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.2587, allocations: 126.3 kB / 416.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.2589, allocations: 259 kB / 416.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.2593, allocations: 294.7 kB / 416.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.2594, allocations: 60 kB / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.2595, allocations: 60 kB / 416.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2596, allocations: 127.5 kB / 416.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.2599, allocations: 314.5 kB / 417.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.2606, allocations: 0.6884 MB / 417.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2606, allocations: 0 / 417.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2606, allocations: 7.984 kB / 417.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.2606, allocations: 0 / 417.9 MB, free: 9.676 MB / 334.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.001611/0.2622, allocations: 0.9086 MB / 418.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2623, allocations: 8.031 kB / 418.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.2624, allocations: 72.52 kB / 418.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.2632, allocations: 434.9 kB / 419.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.944e-05/0.2633, allocations: 58.86 kB / 419.4 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.2633, allocations: 36.33 kB / 419.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/0.2643, allocations: 488 kB / 419.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2643, allocations: 4 kB / 419.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.2643, allocations: 16 kB / 419.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2643, allocations: 8 kB / 419.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.2652, allocations: 334.4 kB / 420.3 MB, free: 7.191 MB / 334.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.002119/0.2673, allocations: 1.287 MB / 421.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.2681, allocations: 359.5 kB / 421.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.2685, allocations: 161.7 kB / 422.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.2685, allocations: 8 kB / 422.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.2686, allocations: 42.5 kB / 422.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.2686, allocations: 0 / 422.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001824/0.2704, allocations: 0.7199 MB / 422.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003214/0.2707, allocations: 448.9 kB / 423.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.2713, allocations: 458 kB / 423.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.2714, allocations: 33.7 kB / 423.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.2716, allocations: 248.6 kB / 424 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.2717, allocations: 126.9 kB / 424.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2719, allocations: 85.41 kB / 424.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.2721, allocations: 358.7 kB / 424.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.2725, allocations: 139.9 kB / 424.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.273, allocations: 278.8 kB / 425 MB, free: 2.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.2737, allocations: 337.2 kB / 425.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2737, allocations: 0 / 425.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00105/0.2748, allocations: 486.1 kB / 425.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.2748, allocations: 29.7 kB / 425.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2748, allocations: 3.938 kB / 425.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.275, allocations: 57.72 kB / 425.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.2754, allocations: 79.88 kB / 425.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.2781, allocations: 2.965 MB / 428.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.2786, allocations: 47.86 kB / 428.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.2786, allocations: 19.92 kB / 429 MB, free: 13.8 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.0002241/0.2789, allocations: 173.7 kB / 429.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.279, allocations: 55.67 kB / 429.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2791, allocations: 52.77 kB / 429.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2791, allocations: 7.984 kB / 429.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2791, allocations: 0 / 429.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.2801, allocations: 0.7281 MB / 430 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.2817, allocations: 1.017 MB / 431 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2817, allocations: 0 / 431 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.2822, allocations: 91.88 kB / 431.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2822, allocations: 3.938 kB / 431.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.2822, allocations: 11.94 kB / 431.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.2822, allocations: 3.984 kB / 431.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2822, allocations: 0 / 431.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.2835, allocations: 0.6483 MB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.2837, allocations: 172.9 kB / 431.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.2838, allocations: 11.94 kB / 431.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.2842, allocations: 27.97 kB / 432 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.2843, allocations: 27.95 kB / 432 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.2843, allocations: 8.062 kB / 432 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.2847, allocations: 327.1 kB / 432.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2847, allocations: 0 / 432.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000463/0.2851, allocations: 143.8 kB / 432.4 MB, free: 10.1 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.0001418/0.2853, allocations: 107.2 kB / 432.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.2865, allocations: 0.6258 MB / 433.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.2865, allocations: 4 kB / 433.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.2869, allocations: 159.7 kB / 433.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.2876, allocations: 149.9 kB / 433.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.2893, allocations: 0.9288 MB / 434.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.2897, allocations: 0.8275 MB / 435.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.29, allocations: 64.34 kB / 435.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.2901, allocations: 39.44 kB / 435.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2901, allocations: 3.938 kB / 435.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of Templates: time 0.01806/0.3081, allocations: 9.013 MB / 444.4 MB, free: 14.23 MB / 366.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 -s gbode -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