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.001026/0.001026, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.89 kB / 308.4 MB, free: 15.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.09052, allocations: 50.53 MB / 358.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004419/0.09498, allocations: 3.671 MB / 362.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.09666, allocations: 1.016 MB / 363.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.09685, allocations: 8 kB / 363.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.09718, allocations: 111 kB / 363.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.09752, allocations: 186.4 kB / 363.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.09778, allocations: 135.8 kB / 364 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006275/0.09842, allocations: 0.6769 MB / 364.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.0987, allocations: 198.2 kB / 364.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.09896, allocations: 259 kB / 365.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.09928, allocations: 298.8 kB / 365.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.09936, allocations: 56 kB / 365.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.09945, allocations: 60 kB / 365.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.09956, allocations: 127.5 kB / 365.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.09982, allocations: 306.5 kB / 366 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.1004, allocations: 0.693 MB / 366.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1004, allocations: 0 / 366.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1004, allocations: 0 / 366.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1004, allocations: 4 kB / 366.7 MB, free: 5.586 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.001498/0.1019, allocations: 0.8894 MB / 367.6 MB, free: 4.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.102, allocations: 8.031 kB / 367.6 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.1021, allocations: 68.19 kB / 367.6 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.1028, allocations: 442.5 kB / 368.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/0.1029, allocations: 58.84 kB / 368.1 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.103, allocations: 32.38 kB / 368.1 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.1038, allocations: 497 kB / 368.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1038, allocations: 0 / 368.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.1039, allocations: 16 kB / 368.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1039, allocations: 12 kB / 368.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.1047, allocations: 338.3 kB / 369 MB, free: 3.105 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.001843/0.1065, allocations: 1.279 MB / 370.3 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.1072, allocations: 376.6 kB / 370.6 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.1076, allocations: 180.7 kB / 370.8 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.1077, allocations: 11.98 kB / 370.8 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1077, allocations: 42.55 kB / 370.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.1077, allocations: 0 / 370.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.0015/0.1092, allocations: 0.7244 MB / 371.6 MB, free: 332 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1422/0.2514, allocations: 448.3 kB / 372 MB, free: 20.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/0.252, allocations: 451.7 kB / 372.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.2521, allocations: 36.83 kB / 372.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.2523, allocations: 238.9 kB / 372.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.2524, allocations: 126.2 kB / 372.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.2525, allocations: 74.06 kB / 372.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.2526, allocations: 358.8 kB / 373.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.253, allocations: 141.2 kB / 373.4 MB, free: 19.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.2535, allocations: 284.8 kB / 373.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.2542, allocations: 340.3 kB / 374 MB, free: 19.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2542, allocations: 0 / 374 MB, free: 19.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000962/0.2552, allocations: 480.6 kB / 374.5 MB, free: 19.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.2552, allocations: 37.56 kB / 374.5 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2552, allocations: 1.188 kB / 374.5 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.2554, allocations: 55.28 kB / 374.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.2558, allocations: 84.08 kB / 374.7 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.2577, allocations: 2.961 MB / 377.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.2581, allocations: 51.61 kB / 377.7 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.2581, allocations: 13.05 kB / 377.7 MB, free: 16.34 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.0001827/0.2583, allocations: 174.8 kB / 377.9 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/0.2584, allocations: 55.48 kB / 377.9 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.902e-05/0.2585, allocations: 53.11 kB / 378 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2586, allocations: 3.75 kB / 378 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2586, allocations: 0.625 kB / 378 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007783/0.2593, allocations: 0.73 MB / 378.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.2609, allocations: 1.012 MB / 379.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2609, allocations: 5.25 kB / 379.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.2613, allocations: 90.53 kB / 379.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2613, allocations: 1.375 kB / 379.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.2614, allocations: 6.547 kB / 379.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2614, allocations: 3.875 kB / 379.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2614, allocations: 0 / 379.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.2626, allocations: 0.6583 MB / 380.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.2627, allocations: 163.3 kB / 380.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.2628, allocations: 11.88 kB / 380.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.2632, allocations: 30.36 kB / 380.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.2633, allocations: 24.5 kB / 380.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.2633, allocations: 11.31 kB / 380.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.2637, allocations: 321.2 kB / 381 MB, free: 14.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2637, allocations: 0 / 381 MB, free: 14.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.2641, allocations: 139.3 kB / 381.2 MB, free: 14.23 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.0001308/0.2643, allocations: 113.9 kB / 381.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.2654, allocations: 0.6343 MB / 381.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2654, allocations: 2 kB / 381.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.2658, allocations: 174.7 kB / 382.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.2664, allocations: 154.5 kB / 382.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.2678, allocations: 0.9234 MB / 383.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2681, allocations: 0.8245 MB / 384 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.2684, allocations: 62.84 kB / 384.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2685, allocations: 48.86 kB / 384.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2685, allocations: 0 / 384.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Templates: time 0.01429/0.2828, allocations: 8.863 MB / 393 MB, free: 9.613 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 -s gbode -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