Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.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.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 110.9 kB / 16.51 MB, free: 6.715 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.00124/0.00124, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009893/0.0009894, allocations: 44.91 kB / 299.9 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08353, allocations: 49.44 MB / 349.4 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2888/0.3723, allocations: 147 MB / 496.4 MB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.375, allocations: 2.571 MB / 498.9 MB, free: 15.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.375, allocations: 4 kB / 498.9 MB, free: 15.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3752, allocations: 23.88 kB / 499 MB, free: 15.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008302/0.376, allocations: 270 kB / 499.2 MB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.3762, allocations: 48.83 kB / 499.3 MB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.451e-05/0.3763, allocations: 75.53 kB / 499.3 MB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.3764, allocations: 8 kB / 499.3 MB, free: 15.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.3765, allocations: 31.86 kB / 499.4 MB, free: 15.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.3765, allocations: 27.91 kB / 499.4 MB, free: 15.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3766, allocations: 4 kB / 499.4 MB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.3773, allocations: 363.5 kB / 499.8 MB, free: 14.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.3773, allocations: 15.92 kB / 499.8 MB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.3774, allocations: 31.81 kB / 499.8 MB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.3779, allocations: 300.8 kB / 0.4884 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.378, allocations: 4 kB / 0.4884 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.378, allocations: 0 / 0.4884 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.378, allocations: 0 / 0.4884 GB, free: 14.38 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008116/0.3788, allocations: 431.9 kB / 0.4888 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3788, allocations: 16.03 kB / 0.4888 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006211/0.3851, allocations: 444.2 kB / 0.4892 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.3852, allocations: 176 kB / 0.4894 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3852, allocations: 4 kB / 0.4894 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/0.3853, allocations: 11.91 kB / 0.4894 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007732/0.3861, allocations: 293.3 kB / 0.4897 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3861, allocations: 4 kB / 0.4897 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.3862, allocations: 11.92 kB / 0.4897 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3862, allocations: 0 / 0.4897 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.387, allocations: 271.8 kB / 0.49 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.388, allocations: 429.3 kB / 0.4904 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.3891, allocations: 210.3 kB / 0.4906 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.3893, allocations: 68.81 kB / 0.4907 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3893, allocations: 4 kB / 0.4907 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3894, allocations: 38.56 kB / 0.4907 GB, free: 11.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3894, allocations: 0 / 0.4907 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00182/0.3912, allocations: 418.2 kB / 0.4911 GB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.3913, allocations: 51.41 kB / 0.4911 GB, free: 11.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.3913, allocations: 101.9 kB / 0.4912 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.3914, allocations: 25.7 kB / 0.4913 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.3914, allocations: 99.88 kB / 0.4914 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.3915, allocations: 59.09 kB / 0.4914 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-05/0.3916, allocations: 49.69 kB / 0.4915 GB, free: 11.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3917, allocations: 318.8 kB / 0.4918 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.392, allocations: 80.75 kB / 0.4918 GB, free: 10.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.3923, allocations: 123 kB / 0.492 GB, free: 10.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.3929, allocations: 206.6 kB / 0.4922 GB, free: 10.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3929, allocations: 0 / 0.4922 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006703/0.3936, allocations: 241.3 kB / 0.4924 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3936, allocations: 8.125 kB / 0.4924 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3936, allocations: 4 kB / 0.4924 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3936, allocations: 192 / 0.4924 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.394, allocations: 50.27 kB / 0.4924 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3941, allocations: 4 kB / 0.4925 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.3943, allocations: 15.98 kB / 0.4925 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.3944, allocations: 15.97 kB / 0.4925 GB, free: 9.941 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.000115/0.3945, allocations: 133.7 kB / 0.4926 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.3946, allocations: 7.906 kB / 0.4926 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008491/0.3954, allocations: 272.5 kB / 0.4929 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3954, allocations: 0 / 0.4929 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3955, allocations: 3.984 kB / 0.4929 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3955, allocations: 0 / 0.4929 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.3968, allocations: 0.5865 MB / 0.4935 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3968, allocations: 0 / 0.4935 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.3971, allocations: 43.91 kB / 0.4935 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3972, allocations: 8.062 kB / 0.4935 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.3972, allocations: 11.98 kB / 0.4935 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3972, allocations: 3.938 kB / 0.4935 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3972, allocations: 3.938 kB / 0.4935 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.3979, allocations: 328.9 kB / 0.4938 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.3979, allocations: 93 kB / 0.4939 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.398, allocations: 0 / 0.4939 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.3983, allocations: 15.98 kB / 0.4939 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3983, allocations: 19.86 kB / 0.494 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.3984, allocations: 8 kB / 0.494 GB, free: 8.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.273e-05/0.3984, allocations: 91.25 kB / 0.4941 GB, free: 8.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3984, allocations: 0 / 0.4941 GB, free: 8.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000355/0.3988, allocations: 44 kB / 0.4941 GB, free: 8.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * 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.0002295/0.399, allocations: 131.1 kB / 0.4942 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006154/0.3996, allocations: 195.7 kB / 0.4944 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3997, allocations: 0 / 0.4944 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.4, allocations: 105 kB / 0.4945 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.4004, allocations: 39.77 kB / 0.4945 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007861/0.4012, allocations: 308.5 kB / 0.4948 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.4015, allocations: 0.6931 MB / 0.4955 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004051/0.4019, allocations: 56.75 kB / 0.4956 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.402, allocations: 27.42 kB / 0.4956 GB, free: 6.586 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.402, allocations: 0 / 0.4956 GB, free: 6.586 MB / 414.1 MB Notification: Performance of Templates: time 0.005839/0.4079, allocations: 2.935 MB / 0.4985 GB, free: 3.688 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches