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.001369/0.001369, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001736/0.001736, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 60.84 kB / 306.9 MB, free: 1.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.097/0.09821, allocations: 50.52 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005428/0.1037, allocations: 3.705 MB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.1059, allocations: 1.024 MB / 362.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.1064, allocations: 4 kB / 362.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.1069, allocations: 87.38 kB / 362.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.1076, allocations: 178.7 kB / 362.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.1079, allocations: 107.9 kB / 362.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008424/0.1088, allocations: 0.6418 MB / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.1091, allocations: 178.7 kB / 363.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.1095, allocations: 239 kB / 363.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.1099, allocations: 274.8 kB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.11, allocations: 43.94 kB / 363.9 MB, free: 8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1102, allocations: 40 kB / 363.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1103, allocations: 115.5 kB / 364 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.1106, allocations: 294.6 kB / 364.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.1111, allocations: 0.5146 MB / 364.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1111, allocations: 4 kB / 364.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1111, allocations: 4 kB / 364.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.1111, allocations: 0 / 364.8 MB, free: 7.035 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.001699/0.1128, allocations: 0.8971 MB / 365.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1129, allocations: 8.031 kB / 365.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.113, allocations: 68.19 kB / 365.8 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/0.1138, allocations: 426.5 kB / 366.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.114, allocations: 82.88 kB / 366.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.1141, allocations: 32.38 kB / 366.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.115, allocations: 497 kB / 366.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.115, allocations: 4 kB / 366.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.115, allocations: 20 kB / 366.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1151, allocations: 11.94 kB / 366.9 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009347/0.116, allocations: 366.3 kB / 367.2 MB, free: 4.5 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.002186/0.1182, allocations: 1.279 MB / 368.5 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007714/0.119, allocations: 396.5 kB / 368.9 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.1195, allocations: 192.8 kB / 369.1 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.1196, allocations: 8 kB / 369.1 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1196, allocations: 46.44 kB / 369.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.254e-06/0.1196, allocations: 0 / 369.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001837/0.1214, allocations: 0.7596 MB / 369.9 MB, free: 1.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/0.1217, allocations: 445 kB / 370.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.1223, allocations: 454 kB / 370.8 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.1223, allocations: 37.7 kB / 370.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.1225, allocations: 244.4 kB / 371 MB, free: 384 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.1226, allocations: 122.2 kB / 371.2 MB, free: 260 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.1228, allocations: 73.69 kB / 371.2 MB, free: 180 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1567/0.2795, allocations: 361.8 kB / 371.6 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.2801, allocations: 152.3 kB / 371.7 MB, free: 20.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.2807, allocations: 292.3 kB / 372 MB, free: 20.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/0.2816, allocations: 371.6 kB / 372.4 MB, free: 20.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.2816, allocations: 0.5625 kB / 372.4 MB, free: 20.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001242/0.2829, allocations: 0.5003 MB / 372.9 MB, free: 20.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.2829, allocations: 31.81 kB / 372.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2829, allocations: 0 / 372.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.2831, allocations: 53.83 kB / 373 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.2836, allocations: 91.8 kB / 373.1 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.2856, allocations: 2.754 MB / 375.8 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/0.2862, allocations: 62.22 kB / 375.9 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.2862, allocations: 12.67 kB / 375.9 MB, free: 17.57 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.0002232/0.2865, allocations: 172.9 kB / 376.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2866, allocations: 52.12 kB / 376.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.2867, allocations: 53.22 kB / 376.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2867, allocations: 3.656 kB / 376.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2867, allocations: 0.5312 kB / 376.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.2877, allocations: 0.7512 MB / 376.9 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.2895, allocations: 1.04 MB / 378 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2895, allocations: 0 / 378 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.29, allocations: 93.11 kB / 378 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.29, allocations: 1.375 kB / 378.1 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.29, allocations: 11.73 kB / 378.1 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.2901, allocations: 6.906 kB / 378.1 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2901, allocations: 9.516 kB / 378.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.2915, allocations: 0.6875 MB / 378.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.2917, allocations: 169 kB / 378.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.493e-05/0.2918, allocations: 8.125 kB / 378.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.2922, allocations: 36.61 kB / 379 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2923, allocations: 28.28 kB / 379 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.2924, allocations: 6.344 kB / 379 MB, free: 15.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003737/0.2927, allocations: 326.7 kB / 379.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2927, allocations: 4.062 kB / 379.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005064/0.2933, allocations: 141.3 kB / 379.5 MB, free: 15.48 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.0001248/0.2934, allocations: 106.5 kB / 379.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.2947, allocations: 0.6557 MB / 380.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2947, allocations: 0 / 380.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.2951, allocations: 190.3 kB / 380.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007536/0.2959, allocations: 132 kB / 380.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.2976, allocations: 1.126 MB / 381.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.2978, allocations: 0.8255 MB / 382.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.298, allocations: 44.81 kB / 382.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.298, allocations: 0 / 382.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of Templates: time 0.01358/0.3116, allocations: 8.879 MB / 391.4 MB, free: 10.38 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/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