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.001056/0.001056, allocations: 111.5 kB / 17.69 MB, free: 5.422 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.001087/0.001087, allocations: 192 kB / 18.63 MB, free: 4.492 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.314/1.314, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.0011, allocations: 43.2 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08974, allocations: 49.44 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00457/0.09435, allocations: 3.662 MB / 355.2 MB, free: 40 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.09579, allocations: 0.9774 MB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.09596, allocations: 7.938 kB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.09626, allocations: 107.1 kB / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.09662, allocations: 198.3 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.09689, allocations: 131.8 kB / 356.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006272/0.09753, allocations: 0.6915 MB / 357.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.09783, allocations: 194.1 kB / 357.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.09808, allocations: 259.1 kB / 357.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.09838, allocations: 290.7 kB / 358 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.09846, allocations: 60 kB / 358 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.09855, allocations: 56 kB / 358.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.09866, allocations: 135.5 kB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.09892, allocations: 302.6 kB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.09951, allocations: 0.6967 MB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09952, allocations: 0 / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09953, allocations: 0 / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.09955, allocations: 4 kB / 359.2 MB, free: 11.95 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.00143/0.101, allocations: 0.8932 MB / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.101, allocations: 15.89 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.1011, allocations: 60.28 kB / 360.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.1018, allocations: 434.5 kB / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.793e-05/0.1019, allocations: 58.92 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.102, allocations: 32.28 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.1028, allocations: 493 kB / 361.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1028, allocations: 0 / 361.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.1029, allocations: 19.94 kB / 361.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1029, allocations: 8 kB / 361.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.1037, allocations: 342.4 kB / 361.6 MB, free: 9.465 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.001876/0.1056, allocations: 1.275 MB / 362.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.1062, allocations: 375.5 kB / 363.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.1066, allocations: 180.7 kB / 363.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.1067, allocations: 7.984 kB / 363.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1067, allocations: 50.56 kB / 363.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.1067, allocations: 3.984 kB / 363.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001543/0.1083, allocations: 0.712 MB / 364.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.1084, allocations: 452.9 kB / 364.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.1089, allocations: 453.9 kB / 365 MB, free: 5.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.109, allocations: 37.7 kB / 365.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1091, allocations: 240.4 kB / 365.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.1092, allocations: 130.1 kB / 365.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.1094, allocations: 69.69 kB / 365.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1095, allocations: 370.7 kB / 365.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.1099, allocations: 131.9 kB / 366 MB, free: 4.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.1104, allocations: 290.4 kB / 366.3 MB, free: 4.367 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/0.1111, allocations: 337.2 kB / 366.6 MB, free: 4.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1111, allocations: 0 / 366.6 MB, free: 4.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009322/0.112, allocations: 493.7 kB / 367.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.1121, allocations: 29.7 kB / 367.1 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1121, allocations: 4 kB / 367.1 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.1122, allocations: 45.69 kB / 367.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.1126, allocations: 87.88 kB / 367.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.115, allocations: 2.95 MB / 370.2 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.1154, allocations: 55.7 kB / 370.3 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.1155, allocations: 19.92 kB / 370.3 MB, free: 44 kB / 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.1406/0.2561, allocations: 164.7 kB / 370.4 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.2563, allocations: 52.19 kB / 370.5 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.2564, allocations: 51.09 kB / 370.5 MB, free: 25.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.2564, allocations: 4.438 kB / 370.5 MB, free: 25.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2565, allocations: 0.6094 kB / 370.5 MB, free: 25.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/0.2575, allocations: 0.7282 MB / 371.3 MB, free: 24.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.2594, allocations: 1.007 MB / 372.3 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2594, allocations: 2.094 kB / 372.3 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.2599, allocations: 88.7 kB / 372.4 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.2599, allocations: 5.312 kB / 372.4 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.26, allocations: 8.969 kB / 372.4 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.26, allocations: 0.9062 kB / 372.4 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.26, allocations: 3.031 kB / 372.4 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.2613, allocations: 0.6567 MB / 373 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.2616, allocations: 171.5 kB / 373.2 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.2617, allocations: 8.375 kB / 373.2 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.2621, allocations: 30.36 kB / 373.2 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.2622, allocations: 24.55 kB / 373.3 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.2622, allocations: 6.547 kB / 373.3 MB, free: 24.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004278/0.2626, allocations: 329.8 kB / 373.6 MB, free: 24.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2626, allocations: 0.75 kB / 373.6 MB, free: 24.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005699/0.2632, allocations: 133.5 kB / 373.7 MB, free: 24.05 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.0001356/0.2633, allocations: 112.2 kB / 373.8 MB, free: 23.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.2646, allocations: 0.6439 MB / 374.5 MB, free: 23.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.2646, allocations: 1.031 kB / 374.5 MB, free: 23.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.265, allocations: 173.4 kB / 374.7 MB, free: 23.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.2657, allocations: 140.2 kB / 374.8 MB, free: 23.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.2674, allocations: 0.9298 MB / 375.7 MB, free: 23.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.2678, allocations: 0.8278 MB / 376.5 MB, free: 22.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003268/0.2681, allocations: 61.19 kB / 376.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2682, allocations: 45.17 kB / 376.6 MB, free: 22.32 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.2683, allocations: 4 kB / 376.7 MB, free: 22.32 MB / 302.1 MB Notification: Performance of Templates: time 0.01855/0.2868, allocations: 8.859 MB / 385.5 MB, free: 19.86 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 -s cvode -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