Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001802/0.001802, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002118/0.002117, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 65.86 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1085, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006588/0.1152, allocations: 4.547 MB / 363 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1174, allocations: 1.822 MB / 364.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.1175, allocations: 3.938 kB / 364.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.1178, allocations: 43.73 kB / 364.8 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.1182, allocations: 123.2 kB / 364.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.1189, allocations: 242.8 kB / 365.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.1193, allocations: 290.9 kB / 365.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.1193, allocations: 9.078 kB / 365.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.1196, allocations: 139.5 kB / 365.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1197, allocations: 79.67 kB / 365.7 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1198, allocations: 8 kB / 365.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.12, allocations: 103.9 kB / 365.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.1201, allocations: 39.84 kB / 365.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1202, allocations: 83.64 kB / 365.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.1206, allocations: 227.6 kB / 366.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1206, allocations: 0 / 366.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1207, allocations: 0 / 366.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1207, allocations: 0 / 366.1 MB, free: 6.176 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001029/0.1217, allocations: 499.2 kB / 366.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1217, allocations: 8.031 kB / 366.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.1219, allocations: 16.84 kB / 366.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1222, allocations: 208.1 kB / 366.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1222, allocations: 8.656 kB / 366.9 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.1223, allocations: 12.38 kB / 366.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.1227, allocations: 221.6 kB / 367.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1227, allocations: 0 / 367.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.1227, allocations: 8 kB / 367.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1228, allocations: 8 kB / 367.1 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.1231, allocations: 151.8 kB / 367.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.1245, allocations: 0.9478 MB / 368.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.125, allocations: 150.6 kB / 368.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1251, allocations: 60.77 kB / 368.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005729/0.1257, allocations: 0.4993 MB / 368.9 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1258, allocations: 34.56 kB / 368.9 MB, free: 3.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 7.484e-06/0.1258, allocations: 3.984 kB / 369 MB, free: 3.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002614/0.1284, allocations: 0.7759 MB / 369.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1285, allocations: 55.41 kB / 369.8 MB, free: 2.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1287, allocations: 153.6 kB / 369.9 MB, free: 2.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.1287, allocations: 33.7 kB / 370 MB, free: 2.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.1288, allocations: 143.8 kB / 370.1 MB, free: 1.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.1289, allocations: 67.02 kB / 370.2 MB, free: 1.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-05/0.129, allocations: 57.59 kB / 370.2 MB, free: 1.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1291, allocations: 330.8 kB / 370.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.1294, allocations: 87.69 kB / 370.6 MB, free: 1.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.1298, allocations: 190 kB / 370.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/0.1304, allocations: 297.4 kB / 371.1 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1304, allocations: 4 kB / 371.1 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007318/0.1311, allocations: 318.9 kB / 371.4 MB, free: 436 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1312, allocations: 8.031 kB / 371.4 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1312, allocations: 4 kB / 371.4 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1312, allocations: 8 kB / 371.4 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.1316, allocations: 83.83 kB / 371.5 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.1316, allocations: 7.984 kB / 371.5 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.1318, allocations: 12 kB / 371.5 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.1319, allocations: 19.98 kB / 371.6 MB, free: 292 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 37 * 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 prepare postOptimizeDAE: time 0.0001444/0.1321, allocations: 141.7 kB / 371.7 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.1321, allocations: 23.69 kB / 371.7 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1698/0.3019, allocations: 231 kB / 372 MB, free: 21.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.302, allocations: 4.719 kB / 372 MB, free: 21.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.302, allocations: 3.266 kB / 372 MB, free: 21.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.302, allocations: 0.5156 kB / 372 MB, free: 21.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.3034, allocations: 0.5981 MB / 372.6 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3035, allocations: 1.812 kB / 372.6 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.3038, allocations: 50.69 kB / 372.6 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3038, allocations: 3.719 kB / 372.6 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.3038, allocations: 9.516 kB / 372.6 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.3038, allocations: 2.094 kB / 372.6 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3039, allocations: 1.031 kB / 372.6 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.3047, allocations: 412.9 kB / 373 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.3048, allocations: 104.3 kB / 373.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.3049, allocations: 2.609 kB / 373.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.3051, allocations: 23.19 kB / 373.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.3052, allocations: 14.92 kB / 373.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.3052, allocations: 13.5 kB / 373.2 MB, free: 20.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.3053, allocations: 108.6 kB / 373.3 MB, free: 20.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3053, allocations: 0 / 373.3 MB, free: 20.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.3057, allocations: 61.52 kB / 373.4 MB, free: 20.58 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.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 (20): * Single equations (assignments): 20 * 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.0002208/0.306, allocations: 127.2 kB / 373.5 MB, free: 20.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006589/0.3066, allocations: 226.7 kB / 373.7 MB, free: 20.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3066, allocations: 0 / 373.7 MB, free: 20.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.3069, allocations: 98.42 kB / 373.8 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.3074, allocations: 43.81 kB / 373.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.3084, allocations: 0.4966 MB / 374.3 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.3086, allocations: 0.7161 MB / 375 MB, free: 19.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.3087, allocations: 28.94 kB / 375.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3088, allocations: 2.406 kB / 375.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of Templates: time 0.005832/0.3146, allocations: 2.605 MB / 377.7 MB, free: 19.19 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches