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.0009144/0.0009144, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002574, allocations: 8 kB / 308.4 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09553, allocations: 51.52 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003923/0.0995, allocations: 3.327 MB / 363.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1015, allocations: 0.9503 MB / 364.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.1018, allocations: 4 kB / 364.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.1022, allocations: 95.36 kB / 364.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005526/0.1027, allocations: 174.7 kB / 364.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1031, allocations: 115.8 kB / 364.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008289/0.1039, allocations: 0.638 MB / 365.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.1042, allocations: 174.6 kB / 365.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.1047, allocations: 231 kB / 365.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.105, allocations: 270.8 kB / 365.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1051, allocations: 36 kB / 365.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1053, allocations: 36 kB / 365.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1054, allocations: 107.5 kB / 366 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.1057, allocations: 304.3 kB / 366.3 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.1062, allocations: 0.5066 MB / 366.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1062, allocations: 7.938 kB / 366.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1062, allocations: 0 / 366.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.1063, allocations: 4 kB / 366.9 MB, free: 6.293 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.001499/0.1078, allocations: 0.8078 MB / 367.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1078, allocations: 8.031 kB / 367.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.108, allocations: 64.28 kB / 367.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000726/0.1087, allocations: 442.5 kB / 368.2 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.1089, allocations: 82.88 kB / 368.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.109, allocations: 32.38 kB / 368.3 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009554/0.11, allocations: 0.501 MB / 368.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.11, allocations: 3.938 kB / 368.8 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.1101, allocations: 20 kB / 368.8 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1101, allocations: 8 kB / 368.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009588/0.1111, allocations: 386.3 kB / 369.2 MB, free: 3.805 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.002227/0.1133, allocations: 1.29 MB / 370.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.1141, allocations: 407.3 kB / 370.9 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.1146, allocations: 204.7 kB / 371.1 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.1146, allocations: 7.984 kB / 371.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1147, allocations: 46.44 kB / 371.1 MB, free: 1.734 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 3.977e-06/0.1147, allocations: 4 kB / 371.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001873/0.1165, allocations: 0.7986 MB / 371.9 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000192/0.1168, allocations: 448.9 kB / 372.4 MB, free: 348 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1682/0.2849, allocations: 449.5 kB / 372.8 MB, free: 19.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.2851, allocations: 35.86 kB / 372.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.2854, allocations: 237.5 kB / 373.1 MB, free: 19.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.2856, allocations: 127.9 kB / 373.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.2857, allocations: 32.59 kB / 373.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2858, allocations: 363.7 kB / 373.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.2864, allocations: 163.7 kB / 373.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.2869, allocations: 303.1 kB / 374 MB, free: 18.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009399/0.2879, allocations: 386.5 kB / 374.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2879, allocations: 0 / 374.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001287/0.2892, allocations: 0.5211 MB / 374.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.2893, allocations: 32.81 kB / 375 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2893, allocations: 0.6562 kB / 375 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.2894, allocations: 54.09 kB / 375 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.2899, allocations: 97.38 kB / 375.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.2918, allocations: 2.746 MB / 377.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.2924, allocations: 72.56 kB / 377.9 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.2924, allocations: 10.09 kB / 377.9 MB, free: 16.03 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.0002223/0.2927, allocations: 179.9 kB / 378.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2928, allocations: 50.03 kB / 378.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.2929, allocations: 54.25 kB / 378.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.2929, allocations: 7.141 kB / 378.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2929, allocations: 4 kB / 378.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.294, allocations: 0.7687 MB / 379 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.2957, allocations: 1.061 MB / 380.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2957, allocations: 1.375 kB / 380.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.2962, allocations: 101.6 kB / 380.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.2962, allocations: 1.375 kB / 380.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.2962, allocations: 10.81 kB / 380.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.2963, allocations: 3 kB / 380.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2963, allocations: 1.375 kB / 380.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.2977, allocations: 0.7255 MB / 380.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.2979, allocations: 172.4 kB / 381.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.298, allocations: 11.28 kB / 381.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.2984, allocations: 41.03 kB / 381.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.2985, allocations: 20.28 kB / 381.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.2985, allocations: 15.16 kB / 381.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003603/0.2989, allocations: 326.5 kB / 381.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2989, allocations: 3.656 kB / 381.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.2994, allocations: 135.8 kB / 381.6 MB, free: 14.03 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.0001255/0.2995, allocations: 104.9 kB / 381.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.3009, allocations: 0.6821 MB / 382.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3009, allocations: 0.9375 kB / 382.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.3014, allocations: 200.4 kB / 382.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.3022, allocations: 121.1 kB / 382.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.3039, allocations: 1.198 MB / 383.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3042, allocations: 0.8281 MB / 384.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.3044, allocations: 43.2 kB / 384.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3044, allocations: 3.938 kB / 384.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Templates: time 0.01512/0.3195, allocations: 8.821 MB / 393.6 MB, free: 8.812 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