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.0008865/0.0008866, allocations: 98.5 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009961/0.0009962, allocations: 206.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001974/0.0001974, allocations: 7.984 kB / 306.6 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.0898, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003612/0.09346, allocations: 2.928 MB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.09498, allocations: 0.9509 MB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.09516, allocations: 4 kB / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.09537, allocations: 63.52 kB / 362 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.09577, allocations: 211.4 kB / 362.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.096, allocations: 99.77 kB / 362.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005848/0.09659, allocations: 471.2 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.09686, allocations: 158 kB / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.0971, allocations: 215.2 kB / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.09739, allocations: 243 kB / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.09746, allocations: 32 kB / 363.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.09755, allocations: 32 kB / 363.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.09764, allocations: 103.6 kB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.09775, allocations: 125.5 kB / 363.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.09816, allocations: 490.9 kB / 364.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.09817, allocations: 0 / 364.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.09818, allocations: 4 kB / 364.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.09819, allocations: 0 / 364.1 MB, free: 7.82 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.001357/0.09955, allocations: 0.8187 MB / 365 MB, free: 6.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.09959, allocations: 8.031 kB / 365 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.848e-05/0.0997, allocations: 59.34 kB / 365 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.1003, allocations: 393.6 kB / 365.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.1005, allocations: 90.27 kB / 365.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.1006, allocations: 39.94 kB / 365.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.1014, allocations: 0.4892 MB / 366 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1014, allocations: 0 / 366 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.1015, allocations: 16 kB / 366 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1015, allocations: 8 kB / 366.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.1024, allocations: 382.3 kB / 366.4 MB, free: 5.387 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.00193/0.1043, allocations: 1.271 MB / 367.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.105, allocations: 400.6 kB / 368.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.1051, allocations: 7.984 kB / 368.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.1051, allocations: 42.56 kB / 368.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.1051, allocations: 3.938 kB / 368.1 MB, free: 3.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001738/0.1069, allocations: 0.7909 MB / 368.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002013/0.1071, allocations: 444.8 kB / 369.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.1075, allocations: 433.9 kB / 369.8 MB, free: 1.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.1076, allocations: 33.7 kB / 369.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1078, allocations: 240.4 kB / 370.1 MB, free: 1.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.1079, allocations: 122.2 kB / 370.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.1079, allocations: 8 kB / 370.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1081, allocations: 354.8 kB / 370.5 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.1085, allocations: 163.9 kB / 370.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.109, allocations: 302.5 kB / 371 MB, free: 468 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.1095, allocations: 211.1 kB / 371.2 MB, free: 252 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.1095, allocations: 3.953 kB / 371.2 MB, free: 248 kB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.1579/0.2674, allocations: 0.5057 MB / 371.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.2675, allocations: 32.75 kB / 371.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2675, allocations: 1.688 kB / 371.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.2677, allocations: 50.3 kB / 371.8 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.2681, allocations: 94.61 kB / 371.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.2699, allocations: 2.775 MB / 374.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.2704, allocations: 60.83 kB / 374.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.2705, allocations: 13.92 kB / 374.7 MB, free: 16.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.2707, allocations: 166.5 kB / 374.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.2708, allocations: 56.67 kB / 374.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.264e-05/0.2709, allocations: 57.33 kB / 375 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2709, allocations: 7.172 kB / 375 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2709, allocations: 1.859 kB / 375 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009414/0.2719, allocations: 0.7686 MB / 375.8 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.2737, allocations: 1.039 MB / 376.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2737, allocations: 3.953 kB / 376.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.2742, allocations: 94.94 kB / 376.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2742, allocations: 1.875 kB / 376.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.2742, allocations: 6.828 kB / 376.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2743, allocations: 5.562 kB / 376.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2743, allocations: 4.875 kB / 376.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2757, allocations: 0.7088 MB / 377.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.2759, allocations: 165.5 kB / 377.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.2759, allocations: 11.84 kB / 377.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.2763, allocations: 42.11 kB / 377.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.2764, allocations: 22.66 kB / 377.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.2764, allocations: 9.562 kB / 377.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003232/0.2768, allocations: 299.7 kB / 378.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2768, allocations: 0 / 378.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004561/0.2772, allocations: 139.9 kB / 378.3 MB, free: 15.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000114/0.2774, allocations: 109.9 kB / 378.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.2785, allocations: 0.6746 MB / 379.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2785, allocations: 1.469 kB / 379.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.279, allocations: 206.9 kB / 379.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.2796, allocations: 131.6 kB / 379.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.281, allocations: 1.112 MB / 380.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2814, allocations: 0.839 MB / 381.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.2816, allocations: 54.44 kB / 381.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.2817, allocations: 38 kB / 381.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2817, allocations: 0 / 381.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of Templates: time 0.01337/0.2951, allocations: 7.456 MB / 388.9 MB, free: 11.35 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches