Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 104.2 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 64.08 kB / 306.2 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07622/0.07736, allocations: 50.53 MB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2832/0.3606, allocations: 150 MB / 0.4949 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.3633, allocations: 2.583 MB / 0.4974 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.3634, allocations: 0 / 0.4974 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.3636, allocations: 23.89 kB / 0.4974 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008843/0.3646, allocations: 288.2 kB / 0.4977 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.3648, allocations: 55.81 kB / 0.4978 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3649, allocations: 103.3 kB / 0.4979 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.3649, allocations: 4 kB / 0.4979 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.365, allocations: 39.84 kB / 0.4979 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.3651, allocations: 35.84 kB / 0.4979 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3651, allocations: 4.656 kB / 0.4979 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006558/0.3658, allocations: 371.5 kB / 0.4983 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.3658, allocations: 19.91 kB / 0.4983 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.3659, allocations: 35.75 kB / 0.4983 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.3664, allocations: 320.7 kB / 0.4986 GB, free: 1.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3664, allocations: 0 / 0.4986 GB, free: 1.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3664, allocations: 0 / 0.4986 GB, free: 1.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.3664, allocations: 7.594 kB / 0.4987 GB, free: 1.922 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.0008679/0.3673, allocations: 466.4 kB / 0.4991 GB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3673, allocations: 12.03 kB / 0.4991 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006312/0.3736, allocations: 457.2 kB / 0.4995 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3738, allocations: 183.5 kB / 0.4997 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3738, allocations: 4 kB / 0.4997 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-05/0.3738, allocations: 8 kB / 0.4997 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.3746, allocations: 297.3 kB / 0.5 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3746, allocations: 0 / 0.5 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.3747, allocations: 4 kB / 0.5 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3747, allocations: 0 / 0.5 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008076/0.3755, allocations: 275.8 kB / 0.5003 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.3758, allocations: 246.2 kB / 0.5005 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.3762, allocations: 166.8 kB / 0.5007 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3764, allocations: 84.81 kB / 0.5008 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3765, allocations: 11.92 kB / 0.5008 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3765, allocations: 38.56 kB / 0.5008 GB, free: 15.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.3765, allocations: 0 / 0.5008 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002163/0.3787, allocations: 0.5749 MB / 0.5014 GB, free: 14.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3787, allocations: 59.34 kB / 0.5014 GB, free: 14.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.3788, allocations: 107.7 kB / 0.5015 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3788, allocations: 29.7 kB / 0.5016 GB, free: 14.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.3789, allocations: 88.56 kB / 0.5016 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.379, allocations: 86.75 kB / 0.5017 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.662e-05/0.3791, allocations: 45.69 kB / 0.5018 GB, free: 14.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3792, allocations: 322.8 kB / 0.5021 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.3795, allocations: 95.94 kB / 0.5022 GB, free: 14.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.3798, allocations: 107.9 kB / 0.5023 GB, free: 14.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.3804, allocations: 224.1 kB / 0.5025 GB, free: 13.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3804, allocations: 0 / 0.5025 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007098/0.3811, allocations: 285.3 kB / 0.5028 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3811, allocations: 4 kB / 0.5028 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3811, allocations: 0 / 0.5028 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3812, allocations: 4 kB / 0.5028 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.3816, allocations: 51.89 kB / 0.5028 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.3816, allocations: 4 kB / 0.5028 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.3819, allocations: 19.97 kB / 0.5028 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.382, allocations: 12 kB / 0.5028 GB, free: 13.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001054/0.3821, allocations: 125.7 kB / 0.503 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.3822, allocations: 15.84 kB / 0.503 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009602/0.3831, allocations: 352 kB / 0.5033 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3831, allocations: 11.88 kB / 0.5033 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3831, allocations: 0 / 0.5033 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3832, allocations: 0 / 0.5033 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.3846, allocations: 0.7209 MB / 0.504 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3846, allocations: 4 kB / 0.504 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.3851, allocations: 56.77 kB / 0.5041 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3851, allocations: 4 kB / 0.5041 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.3851, allocations: 11.98 kB / 0.5041 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3851, allocations: 4 kB / 0.5041 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3852, allocations: 3.938 kB / 0.5041 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.3859, allocations: 411.8 kB / 0.5045 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.386, allocations: 93 kB / 0.5046 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.386, allocations: 5.25 kB / 0.5046 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.3864, allocations: 15.98 kB / 0.5046 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3865, allocations: 27.86 kB / 0.5046 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.3865, allocations: 11.98 kB / 0.5047 GB, free: 11.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.94e-05/0.3865, allocations: 95.27 kB / 0.5047 GB, free: 11.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3866, allocations: 0 / 0.5047 GB, free: 11.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.3869, allocations: 52 kB / 0.5048 GB, free: 11.29 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0002038/0.3871, allocations: 127.2 kB / 0.5049 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.3878, allocations: 258.9 kB / 0.5052 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3878, allocations: 0 / 0.5052 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.3882, allocations: 140.1 kB / 0.5053 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.3887, allocations: 52.44 kB / 0.5053 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.3896, allocations: 391.4 kB / 0.5057 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3898, allocations: 0.705 MB / 0.5064 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004111/0.3902, allocations: 69.23 kB / 0.5065 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.3904, allocations: 39.41 kB / 0.5065 GB, free: 9.461 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3904, allocations: 0 / 0.5065 GB, free: 9.461 MB / 430.1 MB Notification: Performance of Templates: time 0.006935/0.3974, allocations: 3.926 MB / 0.5103 GB, free: 5.57 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches