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.001014/0.001014, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 67.88 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2503, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004837/0.2552, allocations: 3.688 MB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.257, allocations: 0.9968 MB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.2574, allocations: 4 kB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.2578, allocations: 119 kB / 414 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.2583, allocations: 190.3 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.2587, allocations: 135.8 kB / 414.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000833/0.2595, allocations: 0.6882 MB / 415 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.2598, allocations: 198.2 kB / 415.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.2602, allocations: 251.1 kB / 415.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.2606, allocations: 302.7 kB / 415.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.2607, allocations: 56 kB / 415.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2608, allocations: 60 kB / 415.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.261, allocations: 119.6 kB / 416 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.2613, allocations: 306.5 kB / 416.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.262, allocations: 0.7018 MB / 417 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.262, allocations: 0 / 417 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.262, allocations: 0 / 417 MB, free: 9.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.262, allocations: 8 kB / 417 MB, free: 9.77 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.001647/0.2637, allocations: 0.8855 MB / 417.9 MB, free: 8.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2637, allocations: 8.031 kB / 417.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.2638, allocations: 64.28 kB / 418 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.2646, allocations: 438.5 kB / 418.4 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.2647, allocations: 50.92 kB / 418.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.2648, allocations: 40.31 kB / 418.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.2656, allocations: 497 kB / 419 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2657, allocations: 0 / 419 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.2657, allocations: 12 kB / 419 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2657, allocations: 8 kB / 419 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008381/0.2666, allocations: 338.3 kB / 419.3 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.001987/0.2686, allocations: 1.283 MB / 420.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.2693, allocations: 379.5 kB / 421 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.2697, allocations: 176.8 kB / 421.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.2698, allocations: 8 kB / 421.2 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2698, allocations: 42.56 kB / 421.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.2698, allocations: 3.938 kB / 421.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001596/0.2714, allocations: 0.7282 MB / 421.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.2716, allocations: 444.9 kB / 422.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.2721, allocations: 458 kB / 422.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.2721, allocations: 33.7 kB / 422.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.2723, allocations: 240.4 kB / 423.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/0.2724, allocations: 122.2 kB / 423.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.2726, allocations: 81.47 kB / 423.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2727, allocations: 362.7 kB / 423.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.2731, allocations: 135.9 kB / 423.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/0.2736, allocations: 282.8 kB / 424 MB, free: 2.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.2744, allocations: 337.2 kB / 424.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2744, allocations: 0 / 424.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001002/0.2754, allocations: 489.8 kB / 424.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.2754, allocations: 33.69 kB / 424.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2754, allocations: 0 / 424.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.2756, allocations: 49.7 kB / 424.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.276, allocations: 83.88 kB / 425 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.2784, allocations: 2.957 MB / 428 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.2789, allocations: 59.69 kB / 428 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.2789, allocations: 19.94 kB / 428 MB, free: 13.88 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.0002012/0.2791, allocations: 177.7 kB / 428.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.2792, allocations: 47.44 kB / 428.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.2793, allocations: 52.75 kB / 428.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2793, allocations: 4 kB / 428.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2794, allocations: 4 kB / 428.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009812/0.2803, allocations: 0.7281 MB / 429.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.282, allocations: 1.005 MB / 430.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.282, allocations: 0 / 430.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.2824, allocations: 91.88 kB / 430.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2824, allocations: 0 / 430.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.2825, allocations: 15.92 kB / 430.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2825, allocations: 3.938 kB / 430.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2825, allocations: 0 / 430.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.2838, allocations: 0.6596 MB / 430.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.284, allocations: 160.5 kB / 431 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.284, allocations: 11.94 kB / 431 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.2844, allocations: 36.03 kB / 431 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.2845, allocations: 19.97 kB / 431 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.2845, allocations: 8 kB / 431.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.2849, allocations: 327.1 kB / 431.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2849, allocations: 0 / 431.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004543/0.2853, allocations: 135.8 kB / 431.5 MB, free: 10.21 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.0001334/0.2855, allocations: 111.1 kB / 431.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.2867, allocations: 0.637 MB / 432.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2867, allocations: 4 kB / 432.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.2871, allocations: 176.3 kB / 432.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.2878, allocations: 150 kB / 432.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.2893, allocations: 0.9105 MB / 433.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.2896, allocations: 0.8353 MB / 434.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.2899, allocations: 64.34 kB / 434.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.29, allocations: 39.44 kB / 434.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.29, allocations: 0 / 434.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of Templates: time 0.01684/0.3068, allocations: 9.183 MB / 443.6 MB, free: 14.15 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/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