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.001495/0.001495, allocations: 107.3 kB / 18.36 MB, free: 4.641 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.001663/0.001663, allocations: 192 kB / 19.29 MB, free: 3.715 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.399/1.399, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001125/0.001125, allocations: 47.94 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07533/0.07647, allocations: 46.62 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00473/0.08123, allocations: 3.671 MB / 332.4 MB, free: 80 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.08314, allocations: 1.017 MB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.08337, allocations: 7.938 kB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.08375, allocations: 103.1 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.08415, allocations: 202.3 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.08443, allocations: 131.8 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.08511, allocations: 0.673 MB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.08539, allocations: 198.2 kB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.08564, allocations: 255.1 kB / 335 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.08595, allocations: 294.7 kB / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.08604, allocations: 60 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.08613, allocations: 56 kB / 335.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.08625, allocations: 131.6 kB / 335.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.08653, allocations: 314.5 kB / 335.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.08716, allocations: 0.689 MB / 336.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.08717, allocations: 0 / 336.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.08718, allocations: 0 / 336.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.08719, allocations: 0 / 336.5 MB, free: 11.96 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.001532/0.08873, allocations: 0.8972 MB / 337.4 MB, free: 11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.08878, allocations: 12.03 kB / 337.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.08889, allocations: 60.28 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007354/0.08964, allocations: 434.5 kB / 337.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/0.08975, allocations: 62.91 kB / 337.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.08982, allocations: 28.38 kB / 338 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.09064, allocations: 489 kB / 338.4 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.09067, allocations: 0 / 338.4 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.09072, allocations: 16 kB / 338.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.09075, allocations: 12 kB / 338.5 MB, free: 9.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.09154, allocations: 338.4 kB / 338.8 MB, free: 9.484 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.00193/0.09348, allocations: 1.279 MB / 340.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.09413, allocations: 375.5 kB / 340.4 MB, free: 7.719 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.09452, allocations: 180.8 kB / 340.6 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.09457, allocations: 7.984 kB / 340.6 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.09461, allocations: 50.48 kB / 340.7 MB, free: 7.473 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 2.395e-06/0.09462, allocations: 0 / 340.7 MB, free: 7.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001516/0.09614, allocations: 0.712 MB / 341.4 MB, free: 6.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002724/0.09642, allocations: 456.8 kB / 341.8 MB, free: 6.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.09692, allocations: 453.9 kB / 342.3 MB, free: 5.703 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.09698, allocations: 37.7 kB / 342.3 MB, free: 5.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.09716, allocations: 244.4 kB / 342.6 MB, free: 5.418 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.09727, allocations: 126.1 kB / 342.7 MB, free: 5.293 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.09741, allocations: 69.7 kB / 342.7 MB, free: 5.219 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.09756, allocations: 366.7 kB / 343.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.09792, allocations: 135.9 kB / 343.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.09838, allocations: 282.6 kB / 343.5 MB, free: 4.387 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.09909, allocations: 337.1 kB / 343.8 MB, free: 4.047 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.09911, allocations: 4 kB / 343.8 MB, free: 4.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009391/0.1001, allocations: 485.9 kB / 344.3 MB, free: 3.551 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.1001, allocations: 33.64 kB / 344.4 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1001, allocations: 4 kB / 344.4 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.1003, allocations: 45.69 kB / 344.4 MB, free: 3.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.1007, allocations: 91.91 kB / 344.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.103, allocations: 2.958 MB / 347.5 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.1034, allocations: 51.7 kB / 347.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.1035, allocations: 15.92 kB / 347.5 MB, free: 64 kB / 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.0002091/0.1037, allocations: 169.8 kB / 347.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-05/0.1038, allocations: 59.33 kB / 347.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.281e-05/0.1039, allocations: 56.77 kB / 347.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1039, allocations: 4 kB / 347.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.1039, allocations: 0 / 347.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000897/0.1048, allocations: 0.7307 MB / 348.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.1063, allocations: 1.013 MB / 349.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1064, allocations: 0 / 349.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.1068, allocations: 83.88 kB / 349.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1068, allocations: 0 / 349.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.1069, allocations: 11.94 kB / 349.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.1069, allocations: 8 kB / 349.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1069, allocations: 0 / 349.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.108, allocations: 0.6485 MB / 350.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.1082, allocations: 172.4 kB / 350.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.1083, allocations: 15.88 kB / 350.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.1086, allocations: 23.97 kB / 350.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.1087, allocations: 27.95 kB / 350.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.1088, allocations: 8 kB / 350.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000337/0.1091, allocations: 327.1 kB / 350.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1091, allocations: 8.062 kB / 350.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.1095, allocations: 135.8 kB / 351 MB, free: 12.37 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.0001175/0.1096, allocations: 111.5 kB / 351.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.1108, allocations: 0.6447 MB / 351.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1108, allocations: 4 kB / 351.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.1111, allocations: 175.8 kB / 351.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.1118, allocations: 149.2 kB / 352.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1132, allocations: 0.9131 MB / 353 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.1137, allocations: 0.8236 MB / 353.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.1139, allocations: 64.34 kB / 353.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.1141, allocations: 51.42 kB / 353.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1141, allocations: 0 / 353.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of Templates: time 0.0135/0.1276, allocations: 8.849 MB / 362.8 MB, free: 492 kB / 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches