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.001476/0.001476, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2564, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005097/0.2615, allocations: 3.677 MB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.2635, allocations: 1.005 MB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.2639, allocations: 8 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.2644, allocations: 111 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006377/0.265, allocations: 194.3 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.2654, allocations: 135.8 kB / 415 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.2665, allocations: 0.6842 MB / 415.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.2668, allocations: 194.2 kB / 415.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.2672, allocations: 259.1 kB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.2676, allocations: 290.7 kB / 416.4 MB, free: 11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.2677, allocations: 60 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.2679, allocations: 56 kB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.268, allocations: 135.5 kB / 416.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.2683, allocations: 302.5 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.269, allocations: 0.7018 MB / 417.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.269, allocations: 0 / 417.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.269, allocations: 0 / 417.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.2691, allocations: 4 kB / 417.7 MB, free: 9.754 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.001577/0.2706, allocations: 0.8855 MB / 418.6 MB, free: 8.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2707, allocations: 8.031 kB / 418.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2708, allocations: 68.22 kB / 418.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/0.2716, allocations: 438.5 kB / 419.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.332e-05/0.2717, allocations: 58.92 kB / 419.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.2718, allocations: 28.38 kB / 419.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008799/0.2727, allocations: 485.1 kB / 419.6 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2727, allocations: 3.984 kB / 419.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.2728, allocations: 19.98 kB / 419.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2728, allocations: 8 kB / 419.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.2736, allocations: 342.3 kB / 420 MB, free: 7.289 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.002072/0.2757, allocations: 1.275 MB / 421.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.2764, allocations: 378.7 kB / 421.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.2768, allocations: 180.8 kB / 421.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.2769, allocations: 7.984 kB / 421.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.2769, allocations: 46.5 kB / 421.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.2769, allocations: 0 / 421.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.00161/0.2785, allocations: 0.7282 MB / 422.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/0.2788, allocations: 452.9 kB / 423 MB, free: 3.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.2793, allocations: 450 kB / 423.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.2794, allocations: 37.7 kB / 423.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.2795, allocations: 240.4 kB / 423.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/0.2796, allocations: 122.2 kB / 423.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.2798, allocations: 77.47 kB / 424 MB, free: 3.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.28, allocations: 366.7 kB / 424.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.2803, allocations: 135.9 kB / 424.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.2809, allocations: 286.8 kB / 424.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/0.2816, allocations: 329.2 kB / 425 MB, free: 1.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2816, allocations: 4 kB / 425.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001004/0.2826, allocations: 489.8 kB / 425.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.2827, allocations: 29.7 kB / 425.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2827, allocations: 4 kB / 425.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.2828, allocations: 49.62 kB / 425.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.2833, allocations: 83.94 kB / 425.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.2858, allocations: 2.961 MB / 428.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.2863, allocations: 51.7 kB / 428.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.2863, allocations: 23.86 kB / 428.7 MB, free: 13.87 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.0002496/0.2866, allocations: 177.7 kB / 428.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.2867, allocations: 51.44 kB / 429 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.2868, allocations: 52.98 kB / 429 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.2868, allocations: 7.984 kB / 429 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2869, allocations: 0 / 429 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009849/0.2878, allocations: 0.7321 MB / 429.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.2896, allocations: 1.013 MB / 430.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2896, allocations: 0 / 430.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.2901, allocations: 79.94 kB / 430.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.2901, allocations: 0 / 430.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.2901, allocations: 11.94 kB / 430.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.2901, allocations: 7.922 kB / 430.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2901, allocations: 3.938 kB / 430.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.2914, allocations: 0.6519 MB / 431.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.2916, allocations: 164.5 kB / 431.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.2917, allocations: 16 kB / 431.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.2921, allocations: 27.97 kB / 431.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.2922, allocations: 23.97 kB / 431.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.2922, allocations: 8 kB / 431.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003996/0.2926, allocations: 327.1 kB / 432.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2926, allocations: 4 kB / 432.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004618/0.2931, allocations: 131.8 kB / 432.2 MB, free: 10.19 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.0001453/0.2932, allocations: 115.1 kB / 432.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.2945, allocations: 0.6331 MB / 432.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.2945, allocations: 4 kB / 432.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.2949, allocations: 180.3 kB / 433.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.2956, allocations: 137.8 kB / 433.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.2973, allocations: 0.9434 MB / 434.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.2977, allocations: 0.8314 MB / 435 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2979, allocations: 51.42 kB / 435.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2979, allocations: 0 / 435.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of Templates: time 0.01265/0.3105, allocations: 8.905 MB / 444 MB, free: 14.35 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