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.00107/0.00107, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001197/0.001197, allocations: 179.4 kB / 17.2 MB, free: 5.914 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.272/1.272, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 6.703 kB / 300.7 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.0935, allocations: 50.43 MB / 351.1 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003494/0.09705, allocations: 2.925 MB / 354.1 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.09837, allocations: 0.8964 MB / 355 MB, free: 7.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.09857, allocations: 4 kB / 355 MB, free: 7.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.09877, allocations: 71.5 kB / 355 MB, free: 7.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.09919, allocations: 203.4 kB / 355.2 MB, free: 7.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.09944, allocations: 103.8 kB / 355.3 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006175/0.1001, allocations: 479.3 kB / 355.8 MB, free: 7.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.1004, allocations: 153.9 kB / 356 MB, free: 6.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.1006, allocations: 215.2 kB / 356.2 MB, free: 6.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.1009, allocations: 246.9 kB / 356.4 MB, free: 6.426 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.101, allocations: 32 kB / 356.4 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-05/0.1011, allocations: 36 kB / 356.5 MB, free: 6.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.1012, allocations: 95.59 kB / 356.6 MB, free: 6.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.994e-05/0.1013, allocations: 129.5 kB / 356.7 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.1017, allocations: 490.6 kB / 357.2 MB, free: 5.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1017, allocations: 0 / 357.2 MB, free: 5.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1017, allocations: 0 / 357.2 MB, free: 5.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1017, allocations: 0 / 357.2 MB, free: 5.652 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.00132/0.103, allocations: 0.8116 MB / 358 MB, free: 4.781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1031, allocations: 8.031 kB / 358 MB, free: 4.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.1032, allocations: 67.25 kB / 358.1 MB, free: 4.707 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/0.1038, allocations: 397.5 kB / 358.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.104, allocations: 86.33 kB / 358.5 MB, free: 4.191 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.1041, allocations: 32 kB / 358.6 MB, free: 4.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008183/0.1049, allocations: 0.493 MB / 359 MB, free: 3.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1049, allocations: 7.922 kB / 359.1 MB, free: 3.609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.105, allocations: 19.95 kB / 359.1 MB, free: 3.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.105, allocations: 8 kB / 359.1 MB, free: 3.582 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009064/0.1059, allocations: 382.4 kB / 359.5 MB, free: 3.203 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.001894/0.1078, allocations: 1.271 MB / 360.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.1085, allocations: 395.4 kB / 361.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.1086, allocations: 15.97 kB / 361.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1086, allocations: 38.56 kB / 361.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.843e-06/0.1086, allocations: 4 kB / 361.2 MB, free: 1.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001724/0.1103, allocations: 0.79 MB / 362 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.1106, allocations: 448.9 kB / 362.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.1111, allocations: 418 kB / 362.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.1111, allocations: 33.7 kB / 362.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1113, allocations: 240.5 kB / 363.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.1114, allocations: 118.2 kB / 363.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.1114, allocations: 8 kB / 363.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1115, allocations: 358.8 kB / 363.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.112, allocations: 167.9 kB / 363.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.1125, allocations: 302.7 kB / 364 MB, free: 14.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.1129, allocations: 207.2 kB / 364.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1129, allocations: 4 kB / 364.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001028/0.114, allocations: 0.5138 MB / 364.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.114, allocations: 33.7 kB / 364.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.114, allocations: 7.953 kB / 364.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.1142, allocations: 61.62 kB / 364.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.1147, allocations: 87.88 kB / 364.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.1168, allocations: 2.76 MB / 367.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.1173, allocations: 71.69 kB / 367.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.1174, allocations: 8 kB / 367.8 MB, free: 10.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.1176, allocations: 174.4 kB / 367.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.1177, allocations: 55.39 kB / 368 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1178, allocations: 52.77 kB / 368 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1178, allocations: 4 kB / 368 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1178, allocations: 0 / 368 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/0.1188, allocations: 0.7789 MB / 368.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.1205, allocations: 1.04 MB / 369.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1205, allocations: 0 / 369.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.1209, allocations: 99.86 kB / 370 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1209, allocations: 4 kB / 370 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.121, allocations: 8 kB / 370 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.121, allocations: 0 / 370 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.121, allocations: 7.938 kB / 370 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.1223, allocations: 0.71 MB / 370.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.1225, allocations: 160.5 kB / 370.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.1226, allocations: 12.06 kB / 370.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.123, allocations: 43.95 kB / 370.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.1231, allocations: 19.97 kB / 370.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.1231, allocations: 12 kB / 370.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.1234, allocations: 295.1 kB / 371.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1234, allocations: 4 kB / 371.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.1238, allocations: 135.8 kB / 371.3 MB, free: 6.422 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001164/0.124, allocations: 115.2 kB / 371.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.1252, allocations: 0.6882 MB / 372.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1252, allocations: 0 / 372.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.1256, allocations: 203.8 kB / 372.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.1262, allocations: 121.9 kB / 372.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1277, allocations: 1.112 MB / 373.6 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.128, allocations: 0.8354 MB / 374.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.1283, allocations: 59.38 kB / 374.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1284, allocations: 39.44 kB / 374.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1284, allocations: 0 / 374.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of Templates: time 0.0117/0.1401, allocations: 7.45 MB / 382 MB, free: 11.85 MB / 318.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","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches