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.001295/0.001295, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 59.03 kB / 306.3 MB, free: 1.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08778, allocations: 50.54 MB / 356.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004095/0.09192, allocations: 3.7 MB / 360.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.09328, allocations: 1.02 MB / 361.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.09347, allocations: 12 kB / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.09377, allocations: 83.38 kB / 361.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.09409, allocations: 170.7 kB / 361.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.09431, allocations: 115.9 kB / 361.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.09484, allocations: 0.6457 MB / 362.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.09508, allocations: 174.7 kB / 362.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.0953, allocations: 243 kB / 362.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.09556, allocations: 274.8 kB / 363.2 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.09563, allocations: 36 kB / 363.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.09573, allocations: 44 kB / 363.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.09583, allocations: 111.5 kB / 363.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.09608, allocations: 290.6 kB / 363.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.09659, allocations: 0.6621 MB / 364.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.0966, allocations: 0 / 364.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09661, allocations: 0 / 364.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.09662, allocations: 3.938 kB / 364.3 MB, free: 6.957 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.001391/0.09801, allocations: 0.901 MB / 365.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.09806, allocations: 12.03 kB / 365.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.09818, allocations: 72.17 kB / 365.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/0.09877, allocations: 426.5 kB / 365.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.09899, allocations: 82.88 kB / 365.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.09904, allocations: 28.38 kB / 365.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.09988, allocations: 0.4932 MB / 366.3 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.0999, allocations: 0 / 366.3 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.09995, allocations: 12 kB / 366.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.09997, allocations: 8 kB / 366.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008914/0.1009, allocations: 370.3 kB / 366.7 MB, free: 4.418 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.001805/0.1027, allocations: 1.287 MB / 368 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.1034, allocations: 395.4 kB / 368.4 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/0.1038, allocations: 196.8 kB / 368.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.1039, allocations: 7.984 kB / 368.6 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1039, allocations: 38.56 kB / 368.6 MB, free: 2.379 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.1039, allocations: 3.938 kB / 368.6 MB, free: 2.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001649/0.1056, allocations: 0.7587 MB / 369.4 MB, free: 1.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.1057, allocations: 448.9 kB / 369.8 MB, free: 1.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.1062, allocations: 454 kB / 370.3 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.1062, allocations: 37.7 kB / 370.3 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1064, allocations: 240.4 kB / 370.6 MB, free: 296 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.1065, allocations: 130.2 kB / 370.7 MB, free: 164 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.1066, allocations: 73.69 kB / 370.8 MB, free: 84 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1528/0.2594, allocations: 357.8 kB / 371.1 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.26, allocations: 152.8 kB / 371.3 MB, free: 20.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.2606, allocations: 298.8 kB / 371.5 MB, free: 20.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/0.2615, allocations: 362.2 kB / 371.9 MB, free: 19.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2615, allocations: 0.7188 kB / 371.9 MB, free: 19.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00123/0.2627, allocations: 0.5028 MB / 372.4 MB, free: 19.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.2627, allocations: 33 kB / 372.4 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2628, allocations: 0.9062 kB / 372.4 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.2629, allocations: 54.59 kB / 372.5 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.2634, allocations: 90.42 kB / 372.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.2652, allocations: 2.744 MB / 375.3 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.2657, allocations: 57.62 kB / 375.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.2657, allocations: 7.859 kB / 375.4 MB, free: 17.34 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.0001968/0.2659, allocations: 181.2 kB / 375.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.266, allocations: 55.17 kB / 375.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-05/0.2661, allocations: 54.17 kB / 375.7 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2661, allocations: 3.281 kB / 375.7 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2661, allocations: 0 / 375.7 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009691/0.2671, allocations: 0.7544 MB / 376.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.2688, allocations: 1.037 MB / 377.5 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2688, allocations: 0 / 377.5 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.2693, allocations: 94.61 kB / 377.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2694, allocations: 6 kB / 377.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2694, allocations: 6.266 kB / 377.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2694, allocations: 5.766 kB / 377.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2694, allocations: 6.188 kB / 377.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.2708, allocations: 0.6884 MB / 378.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.271, allocations: 167.7 kB / 378.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.2711, allocations: 8.734 kB / 378.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.2715, allocations: 32.09 kB / 378.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.2716, allocations: 31.77 kB / 378.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.2716, allocations: 12 kB / 378.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003498/0.272, allocations: 325.3 kB / 378.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.272, allocations: 0 / 378.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004743/0.2724, allocations: 139.8 kB / 379 MB, free: 15.3 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.0001252/0.2726, allocations: 113.4 kB / 379.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.2741, allocations: 0.6541 MB / 379.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2741, allocations: 5.281 kB / 379.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006701/0.2748, allocations: 182.8 kB / 379.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.276, allocations: 141.9 kB / 380.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.2782, allocations: 1.089 MB / 381.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.2786, allocations: 0.8275 MB / 382 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004269/0.279, allocations: 64.17 kB / 382 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.2792, allocations: 41.36 kB / 382.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2792, allocations: 0 / 382.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Templates: time 0.02168/0.3009, allocations: 8.237 MB / 390.3 MB, free: 10.89 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches