Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001829/0.001829, allocations: 116.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002351/0.002351, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.426/2.426, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4136, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.007801/0.4214, allocations: 3.681 MB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.4248, allocations: 1.005 MB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005783/0.4254, allocations: 7.938 kB / 414.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.4261, allocations: 111.1 kB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.4272, allocations: 194.3 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.4278, allocations: 131.8 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.4293, allocations: 0.6847 MB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005171/0.4299, allocations: 190.2 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005912/0.4305, allocations: 255.1 kB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007238/0.4312, allocations: 294.8 kB / 416.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.4315, allocations: 56 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.4318, allocations: 64 kB / 416.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.432, allocations: 123.5 kB / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000687/0.4327, allocations: 310.6 kB / 417 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.4339, allocations: 0.6979 MB / 417.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.434, allocations: 0 / 417.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.888e-06/0.434, allocations: 0 / 417.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.636e-05/0.434, allocations: 0 / 417.7 MB, free: 9.777 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.003025/0.4371, allocations: 0.8932 MB / 418.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.4371, allocations: 12.02 kB / 418.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.4374, allocations: 60.28 kB / 418.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.4388, allocations: 438.5 kB / 419.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.439, allocations: 54.91 kB / 419.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.4391, allocations: 32.38 kB / 419.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.4407, allocations: 493 kB / 419.6 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.4407, allocations: 0 / 419.6 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.4408, allocations: 19.98 kB / 419.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.4408, allocations: 8 kB / 419.7 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.4423, allocations: 338.4 kB / 420 MB, free: 7.309 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.003548/0.4459, allocations: 1.279 MB / 421.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.4471, allocations: 382.3 kB / 421.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007831/0.4479, allocations: 184.7 kB / 421.8 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.448, allocations: 8 kB / 421.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.188e-05/0.4481, allocations: 38.56 kB / 421.9 MB, free: 5.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 3.957e-06/0.4481, allocations: 3.938 kB / 421.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002985/0.4511, allocations: 0.7282 MB / 422.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003115/0.4514, allocations: 444.9 kB / 423 MB, free: 3.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/0.4524, allocations: 462 kB / 423.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-05/0.4525, allocations: 33.7 kB / 423.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.4528, allocations: 236.4 kB / 423.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.453, allocations: 126.2 kB / 423.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.4533, allocations: 81.47 kB / 424 MB, free: 3.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.4536, allocations: 354.7 kB / 424.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/0.4543, allocations: 139.9 kB / 424.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008945/0.4552, allocations: 282.8 kB / 424.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.4566, allocations: 337.2 kB / 425 MB, free: 1.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4566, allocations: 0 / 425 MB, free: 1.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002006/0.4587, allocations: 485.8 kB / 425.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.918e-05/0.4587, allocations: 33.7 kB / 425.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4588, allocations: 0 / 425.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.4591, allocations: 53.69 kB / 425.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/0.4599, allocations: 87.91 kB / 425.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004542/0.4644, allocations: 2.964 MB / 428.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009456/0.4654, allocations: 47.7 kB / 428.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/0.4655, allocations: 15.94 kB / 428.7 MB, free: 13.89 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.000505/0.466, allocations: 181.6 kB / 428.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.4663, allocations: 51.44 kB / 428.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.4665, allocations: 48.77 kB / 429 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4666, allocations: 4.234 kB / 429 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4666, allocations: 0 / 429 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001843/0.4684, allocations: 0.7321 MB / 429.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/0.4717, allocations: 1.009 MB / 430.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.4718, allocations: 0 / 430.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/0.4726, allocations: 91.88 kB / 430.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.4726, allocations: 4 kB / 430.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/0.4727, allocations: 11.94 kB / 430.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.4727, allocations: 3.938 kB / 430.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.4727, allocations: 0 / 430.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.475, allocations: 0.6596 MB / 431.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.4755, allocations: 164.4 kB / 431.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.4757, allocations: 15.94 kB / 431.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.4763, allocations: 27.97 kB / 431.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4764, allocations: 19.97 kB / 431.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.4765, allocations: 8 kB / 431.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006659/0.4772, allocations: 331.2 kB / 432.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4772, allocations: 0 / 432.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007741/0.478, allocations: 135.8 kB / 432.2 MB, free: 10.2 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.0002019/0.4782, allocations: 111.1 kB / 432.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.4803, allocations: 0.637 MB / 432.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4803, allocations: 0 / 432.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.481, allocations: 180.2 kB / 433.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.4823, allocations: 146 kB / 433.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.4851, allocations: 0.9357 MB / 434.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.4858, allocations: 0.8352 MB / 435 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.4861, allocations: 43.44 kB / 435.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4861, allocations: 0 / 435.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of Templates: time 0.02277/0.5089, allocations: 8.988 MB / 444.1 MB, free: 14.29 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches