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.001032/0.001032, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001153, allocations: 60.19 kB / 306.9 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09066, allocations: 50.53 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004321/0.09501, allocations: 3.67 MB / 361.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.0965, allocations: 1.016 MB / 362.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.0967, allocations: 4 kB / 362.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.09701, allocations: 119 kB / 362.3 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.09737, allocations: 190.4 kB / 362.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.09763, allocations: 127.8 kB / 362.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.09823, allocations: 0.677 MB / 363.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.09851, allocations: 202.2 kB / 363.5 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.09875, allocations: 251.1 kB / 363.7 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.09907, allocations: 294.8 kB / 364 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-05/0.09915, allocations: 59.94 kB / 364 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.09926, allocations: 60 kB / 364.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-05/0.09936, allocations: 115.6 kB / 364.2 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.09962, allocations: 314.5 kB / 364.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000622/0.1003, allocations: 0.6815 MB / 365.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1003, allocations: 3.938 kB / 365.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1003, allocations: 0 / 365.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1003, allocations: 0 / 365.2 MB, free: 6.25 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.001402/0.1017, allocations: 0.8972 MB / 366.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.1018, allocations: 16.02 kB / 366.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.1019, allocations: 68.12 kB / 366.2 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.1025, allocations: 426.5 kB / 366.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.1027, allocations: 82.88 kB / 366.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.1028, allocations: 36.38 kB / 366.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.1036, allocations: 0.4931 MB / 367.2 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1036, allocations: 0 / 367.2 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.1037, allocations: 12 kB / 367.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.1037, allocations: 8 kB / 367.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009169/0.1046, allocations: 370.3 kB / 367.6 MB, free: 3.711 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.001949/0.1066, allocations: 1.283 MB / 368.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.1073, allocations: 384.5 kB / 369.3 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.1078, allocations: 204.7 kB / 369.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1078, allocations: 4 kB / 369.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1079, allocations: 38.56 kB / 369.5 MB, free: 1.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.1079, allocations: 4 kB / 369.5 MB, free: 1.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001702/0.1096, allocations: 0.7587 MB / 370.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/0.1098, allocations: 452.9 kB / 370.7 MB, free: 328 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1423/0.2521, allocations: 454 kB / 371.1 MB, free: 20.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.2523, allocations: 36.98 kB / 371.2 MB, free: 20.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.2524, allocations: 243.1 kB / 371.4 MB, free: 20.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.2525, allocations: 123.6 kB / 371.5 MB, free: 20.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2527, allocations: 73.66 kB / 371.6 MB, free: 20.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.2528, allocations: 358.6 kB / 372 MB, free: 20.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.2533, allocations: 155 kB / 372.1 MB, free: 20.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.2539, allocations: 293.5 kB / 372.4 MB, free: 20.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.2547, allocations: 362.6 kB / 372.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2547, allocations: 0 / 372.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00114/0.2559, allocations: 0.5031 MB / 373.3 MB, free: 19.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.2559, allocations: 36.14 kB / 373.3 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2559, allocations: 0.5156 kB / 373.3 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.2561, allocations: 54.97 kB / 373.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.2566, allocations: 85.3 kB / 373.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.2586, allocations: 2.969 MB / 376.4 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.259, allocations: 61.7 kB / 376.5 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.2591, allocations: 12.77 kB / 376.5 MB, free: 16.92 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.0002053/0.2593, allocations: 172.6 kB / 376.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.091e-05/0.2594, allocations: 50.16 kB / 376.7 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.45e-05/0.2595, allocations: 66.91 kB / 376.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2595, allocations: 4.875 kB / 376.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2595, allocations: 0.5625 kB / 376.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009994/0.2605, allocations: 0.7501 MB / 377.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.2621, allocations: 1.036 MB / 378.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2621, allocations: 3.938 kB / 378.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.2626, allocations: 92.91 kB / 378.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2626, allocations: 1.375 kB / 378.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.2626, allocations: 7.922 kB / 378.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2626, allocations: 5.375 kB / 378.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2626, allocations: 3.938 kB / 378.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2641, allocations: 0.6943 MB / 379.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.2642, allocations: 172.9 kB / 379.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.2643, allocations: 8.375 kB / 379.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.2647, allocations: 31.81 kB / 379.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.2648, allocations: 25.45 kB / 379.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2648, allocations: 11.27 kB / 379.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.2651, allocations: 326.3 kB / 379.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2651, allocations: 0 / 379.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.2656, allocations: 143.1 kB / 380.1 MB, free: 14.78 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.0001105/0.2657, allocations: 106.6 kB / 380.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.267, allocations: 0.6745 MB / 380.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.267, allocations: 0 / 380.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.2674, allocations: 191.1 kB / 381 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.2682, allocations: 148.8 kB / 381.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2696, allocations: 0.9427 MB / 382.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.2699, allocations: 0.8286 MB / 382.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.2702, allocations: 65.59 kB / 383 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.2703, allocations: 41.78 kB / 383 MB, free: 12.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2703, allocations: 0 / 383 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Templates: time 0.0146/0.2849, allocations: 8.904 MB / 391.9 MB, free: 10.06 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