Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 110.6 kB / 16.62 MB, free: 6.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.001181, allocations: 190 kB / 17.54 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009547/0.0009547, allocations: 48.48 kB / 300.1 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09187, allocations: 49.45 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00438/0.09628, allocations: 3.688 MB / 353.3 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.0978, allocations: 0.9657 MB / 354.2 MB, free: 80 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.09801, allocations: 4 kB / 354.2 MB, free: 76 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.09834, allocations: 99.36 kB / 354.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.09874, allocations: 166.7 kB / 354.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.09899, allocations: 115.9 kB / 354.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000646/0.09964, allocations: 0.6868 MB / 355.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.09993, allocations: 194.1 kB / 355.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.1002, allocations: 259.1 kB / 355.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.1005, allocations: 294.7 kB / 356 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.1006, allocations: 56 kB / 356.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.1007, allocations: 60 kB / 356.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.1008, allocations: 123.5 kB / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.101, allocations: 314.6 kB / 356.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.1016, allocations: 0.6776 MB / 357.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1016, allocations: 0 / 357.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1016, allocations: 0 / 357.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.006e-06/0.1016, allocations: 0 / 357.2 MB, free: 13.05 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.001432/0.1031, allocations: 0.8972 MB / 358.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1031, allocations: 15.97 kB / 358.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.1032, allocations: 64.28 kB / 358.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.1039, allocations: 430.5 kB / 358.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.1041, allocations: 78.89 kB / 358.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.1041, allocations: 32.28 kB / 358.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008601/0.105, allocations: 0.497 MB / 359.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.105, allocations: 0 / 359.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.1051, allocations: 16 kB / 359.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.1051, allocations: 8 kB / 359.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008824/0.106, allocations: 366.4 kB / 359.6 MB, free: 10.51 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.001912/0.1079, allocations: 1.298 MB / 360.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/0.1086, allocations: 391.5 kB / 361.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.1091, allocations: 192.8 kB / 361.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.1091, allocations: 7.984 kB / 361.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1092, allocations: 38.56 kB / 361.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.1092, allocations: 0 / 361.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001659/0.1108, allocations: 0.7588 MB / 362.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.111, allocations: 448.9 kB / 362.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.1115, allocations: 454 kB / 363.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.1116, allocations: 37.7 kB / 363.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1117, allocations: 236.4 kB / 363.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.107e-05/0.1118, allocations: 130.2 kB / 363.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.112, allocations: 73.69 kB / 363.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1121, allocations: 358.7 kB / 364 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.1125, allocations: 147.9 kB / 364.1 MB, free: 5.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.113, allocations: 298.8 kB / 364.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/0.1138, allocations: 361.2 kB / 364.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1138, allocations: 0 / 364.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001037/0.1149, allocations: 0.513 MB / 365.3 MB, free: 4.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.1149, allocations: 37.73 kB / 365.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1149, allocations: 0 / 365.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.1151, allocations: 53.69 kB / 365.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.1155, allocations: 83.88 kB / 365.5 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.118, allocations: 2.962 MB / 368.4 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.1185, allocations: 59.7 kB / 368.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.1185, allocations: 19.92 kB / 368.5 MB, free: 0.9297 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.0002083/0.1187, allocations: 169.8 kB / 368.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.1188, allocations: 51.34 kB / 368.7 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.1189, allocations: 56.75 kB / 368.8 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.119, allocations: 8.172 kB / 368.8 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.119, allocations: 0 / 368.8 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.132/0.251, allocations: 0.7484 MB / 369.5 MB, free: 25.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.2529, allocations: 1.035 MB / 370.6 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.253, allocations: 0.75 kB / 370.6 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.2535, allocations: 93.48 kB / 370.7 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.2535, allocations: 6.141 kB / 370.7 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.2535, allocations: 6.625 kB / 370.7 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2535, allocations: 2.438 kB / 370.7 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2535, allocations: 4.094 kB / 370.7 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.2549, allocations: 0.6911 MB / 371.4 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2551, allocations: 173.3 kB / 371.5 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.2552, allocations: 7.094 kB / 371.5 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.2556, allocations: 38.77 kB / 371.6 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.2557, allocations: 27.58 kB / 371.6 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2557, allocations: 11.31 kB / 371.6 MB, free: 25.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003627/0.2561, allocations: 321.1 kB / 371.9 MB, free: 25.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2561, allocations: 0 / 371.9 MB, free: 25.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004979/0.2566, allocations: 137.6 kB / 372.1 MB, free: 25.15 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.000117/0.2567, allocations: 111.2 kB / 372.2 MB, free: 25.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.2581, allocations: 0.6771 MB / 372.9 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2581, allocations: 5.344 kB / 372.9 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.2585, allocations: 184.5 kB / 373 MB, free: 24.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.2592, allocations: 140.9 kB / 373.2 MB, free: 24.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2606, allocations: 1.089 MB / 374.3 MB, free: 23.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2609, allocations: 0.832 MB / 375.1 MB, free: 23.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.2612, allocations: 65.31 kB / 375.2 MB, free: 23.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2613, allocations: 49.61 kB / 375.2 MB, free: 23.2 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2613, allocations: 0 / 375.2 MB, free: 23.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01532/0.2766, allocations: 8.701 MB / 383.9 MB, free: 20.75 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches