Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001254/0.001254, allocations: 114.4 kB / 17.28 MB, free: 6.199 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.001373/0.001373, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.84 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08846, allocations: 46.62 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00526/0.09377, allocations: 3.692 MB / 330.5 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.09546, allocations: 1.013 MB / 331.5 MB, free: 64 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.09565, allocations: 11.94 kB / 331.5 MB, free: 52 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.09599, allocations: 79.5 kB / 331.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.09634, allocations: 174.6 kB / 331.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.0966, allocations: 119.8 kB / 331.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006632/0.09728, allocations: 0.6769 MB / 332.5 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.0976, allocations: 194.5 kB / 332.7 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.09788, allocations: 259 kB / 333 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.09817, allocations: 290.8 kB / 333.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.09825, allocations: 56 kB / 333.3 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.911e-05/0.09835, allocations: 60 kB / 333.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.09845, allocations: 131.5 kB / 333.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.09869, allocations: 310.5 kB / 333.8 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.09925, allocations: 0.6774 MB / 334.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.09926, allocations: 0 / 334.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.09927, allocations: 0 / 334.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.09928, allocations: 4 kB / 334.5 MB, free: 13.04 MB / 286.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.001489/0.1008, allocations: 0.8972 MB / 335.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1008, allocations: 8.031 kB / 335.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1009, allocations: 60.28 kB / 335.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.1016, allocations: 426.5 kB / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.1018, allocations: 82.88 kB / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/0.1018, allocations: 36.38 kB / 336 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.1027, allocations: 0.4931 MB / 336.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1027, allocations: 0 / 336.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.1027, allocations: 20 kB / 336.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1028, allocations: 8 kB / 336.5 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/0.1036, allocations: 358.4 kB / 336.9 MB, free: 10.52 MB / 286.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.001827/0.1054, allocations: 1.298 MB / 338.2 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.1061, allocations: 391.4 kB / 338.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.1066, allocations: 192.8 kB / 338.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/0.1066, allocations: 15.86 kB / 338.7 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1067, allocations: 42.55 kB / 338.8 MB, free: 8.461 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.293e-06/0.1067, allocations: 0 / 338.8 MB, free: 8.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001637/0.1083, allocations: 0.7549 MB / 339.5 MB, free: 7.656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.1085, allocations: 445 kB / 340 MB, free: 7.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.109, allocations: 457.9 kB / 340.4 MB, free: 6.656 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.1091, allocations: 41.64 kB / 340.5 MB, free: 6.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1092, allocations: 240.4 kB / 340.7 MB, free: 6.371 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.1093, allocations: 122.2 kB / 340.8 MB, free: 6.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.1095, allocations: 73.7 kB / 340.9 MB, free: 6.172 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1096, allocations: 362.7 kB / 341.2 MB, free: 5.809 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.11, allocations: 151.9 kB / 341.4 MB, free: 5.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.1105, allocations: 294.6 kB / 341.7 MB, free: 5.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000766/0.1113, allocations: 365.1 kB / 342 MB, free: 4.953 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1113, allocations: 0 / 342 MB, free: 4.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001051/0.1124, allocations: 0.5015 MB / 342.5 MB, free: 4.434 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.1124, allocations: 37.64 kB / 342.6 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1124, allocations: 0 / 342.6 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.1126, allocations: 53.69 kB / 342.6 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.1131, allocations: 87.88 kB / 342.7 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.1155, allocations: 2.966 MB / 345.7 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.116, allocations: 63.69 kB / 345.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.116, allocations: 15.94 kB / 345.7 MB, free: 0.9219 MB / 286.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.0002566/0.1163, allocations: 174.1 kB / 345.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.1164, allocations: 51.34 kB / 346 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.64e-05/0.1165, allocations: 52.77 kB / 346 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1165, allocations: 4 kB / 346 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1165, allocations: 0 / 346 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009816/0.1175, allocations: 0.762 MB / 346.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.1192, allocations: 1.032 MB / 347.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1192, allocations: 4 kB / 347.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.1196, allocations: 95.86 kB / 347.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1197, allocations: 240 / 347.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.1197, allocations: 11.94 kB / 347.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1197, allocations: 7.938 kB / 347.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1197, allocations: 0 / 347.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.121, allocations: 0.6861 MB / 348.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.1212, allocations: 176.5 kB / 348.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.1213, allocations: 15.92 kB / 348.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.1217, allocations: 31.88 kB / 348.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.1218, allocations: 23.97 kB / 348.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.1218, allocations: 15.98 kB / 348.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003498/0.1221, allocations: 323.1 kB / 349.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1222, allocations: 7.938 kB / 349.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.1226, allocations: 135.8 kB / 349.3 MB, free: 13.12 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.0001432/0.1227, allocations: 103.2 kB / 349.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.1242, allocations: 0.6838 MB / 350.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1242, allocations: 0 / 350.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.1247, allocations: 187.9 kB / 350.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008541/0.1255, allocations: 145 kB / 350.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1272, allocations: 1.09 MB / 351.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.1276, allocations: 0.8313 MB / 352.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.1278, allocations: 60.36 kB / 352.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.1279, allocations: 47.42 kB / 352.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1279, allocations: 0 / 352.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of Templates: time 0.01424/0.1422, allocations: 8.687 MB / 361.2 MB, free: 1.191 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches