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.001584/0.001584, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.001869/0.001869, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.343/1.343, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009885/0.0009886, allocations: 51.88 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09098, allocations: 49.44 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005547/0.09657, allocations: 3.654 MB / 354.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.09873, allocations: 0.9812 MB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004764/0.09924, allocations: 8 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.09981, allocations: 111 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006329/0.1005, allocations: 190.4 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.1009, allocations: 135.8 kB / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008489/0.1017, allocations: 0.6851 MB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.102, allocations: 198.1 kB / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.1024, allocations: 259.1 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.1027, allocations: 294.7 kB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.681e-05/0.1028, allocations: 60 kB / 357.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.103, allocations: 56 kB / 357.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1031, allocations: 123.6 kB / 357.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.1034, allocations: 310.5 kB / 357.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.1041, allocations: 0.6815 MB / 358.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1041, allocations: 0 / 358.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1041, allocations: 3.984 kB / 358.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.1041, allocations: 0 / 358.4 MB, free: 12.66 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.001566/0.1057, allocations: 0.8972 MB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1057, allocations: 8.031 kB / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.1059, allocations: 60.28 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.1065, allocations: 434.5 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.1068, allocations: 78.88 kB / 359.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.1069, allocations: 36.28 kB / 359.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009186/0.1078, allocations: 0.4931 MB / 360.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1078, allocations: 0 / 360.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.1079, allocations: 16 kB / 360.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.1079, allocations: 8 kB / 360.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.1089, allocations: 374.3 kB / 360.8 MB, free: 10.12 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.002223/0.1111, allocations: 1.294 MB / 362.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000763/0.1119, allocations: 391.5 kB / 362.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.1123, allocations: 192.7 kB / 362.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.1124, allocations: 12 kB / 362.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1124, allocations: 38.56 kB / 362.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.1124, allocations: 0 / 362.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001838/0.1143, allocations: 0.7549 MB / 363.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002342/0.1145, allocations: 448.9 kB / 363.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.1151, allocations: 454 kB / 364.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.1152, allocations: 33.7 kB / 364.4 MB, free: 6.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.1154, allocations: 244.4 kB / 364.6 MB, free: 5.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1155, allocations: 118.2 kB / 364.8 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1157, allocations: 81.69 kB / 364.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1158, allocations: 362.7 kB / 365.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.1163, allocations: 147.9 kB / 365.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/0.1168, allocations: 298.6 kB / 365.6 MB, free: 4.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/0.1177, allocations: 369.1 kB / 366 MB, free: 4.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1178, allocations: 0 / 366 MB, free: 4.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001186/0.1189, allocations: 0.5052 MB / 366.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.119, allocations: 29.7 kB / 366.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.119, allocations: 4.031 kB / 366.5 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.1192, allocations: 49.69 kB / 366.6 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.1197, allocations: 91.86 kB / 366.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.1223, allocations: 2.966 MB / 369.6 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.1229, allocations: 55.78 kB / 369.7 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.123, allocations: 15.94 kB / 369.7 MB, free: 0.543 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.0002749/0.1232, allocations: 177.8 kB / 369.9 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.1234, allocations: 51.34 kB / 369.9 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.1235, allocations: 56.75 kB / 370 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1235, allocations: 7.938 kB / 370 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1235, allocations: 0 / 370 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1745/0.2981, allocations: 0.7481 MB / 370.7 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.3002, allocations: 1.03 MB / 371.8 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3002, allocations: 0 / 371.8 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.3007, allocations: 96.02 kB / 371.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.3007, allocations: 5.594 kB / 371.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.3008, allocations: 10.67 kB / 371.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3008, allocations: 1.438 kB / 371.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3008, allocations: 0.8906 kB / 371.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.3023, allocations: 0.6863 MB / 372.6 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.3025, allocations: 173.1 kB / 372.7 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.3026, allocations: 16.66 kB / 372.7 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.3031, allocations: 31.67 kB / 372.8 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.3032, allocations: 23.44 kB / 372.8 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.3032, allocations: 10.58 kB / 372.8 MB, free: 24.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004179/0.3036, allocations: 324.7 kB / 373.1 MB, free: 24.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3036, allocations: 0 / 373.1 MB, free: 24.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005652/0.3042, allocations: 139 kB / 373.3 MB, free: 24.72 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.0001499/0.3044, allocations: 110.6 kB / 373.4 MB, free: 24.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.3058, allocations: 0.6729 MB / 374 MB, free: 24.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.3058, allocations: 1.594 kB / 374 MB, free: 24.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.3063, allocations: 195.8 kB / 374.2 MB, free: 24.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008241/0.3071, allocations: 141.7 kB / 374.4 MB, free: 24.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3088, allocations: 0.9654 MB / 375.3 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.3091, allocations: 0.8291 MB / 376.2 MB, free: 22.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.3093, allocations: 47.22 kB / 376.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3093, allocations: 4 kB / 376.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01523/0.3245, allocations: 8.881 MB / 385.1 MB, free: 20.02 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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches